aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-01-29 01:37:16 +0100
committerRickard Green <[email protected]>2013-01-29 01:37:16 +0100
commit6bb1e114ef5dc0df8acb05a50fe3f7a1c5529a2c (patch)
tree04a3c8ad0b93b91ba8a277c640a59d3cc1cc4bea
parent0499dfad9705f14099a9483ed7d6473d5acbcedd (diff)
downloadotp-6bb1e114ef5dc0df8acb05a50fe3f7a1c5529a2c.tar.gz
otp-6bb1e114ef5dc0df8acb05a50fe3f7a1c5529a2c.tar.bz2
otp-6bb1e114ef5dc0df8acb05a50fe3f7a1c5529a2c.zip
Fix unmanaged thread progress delay
-rw-r--r--erts/emulator/beam/erl_thr_progress.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_thr_progress.c b/erts/emulator/beam/erl_thr_progress.c
index 9678d7e08b..9effdae98e 100644
--- a/erts/emulator/beam/erl_thr_progress.c
+++ b/erts/emulator/beam/erl_thr_progress.c
@@ -797,6 +797,8 @@ leader_update(ErtsThrPrgrData *tpd)
ERTS_THR_PROGRESS_STATE_DEBUG_SET_LEADER(tpd->id, 0);
+ intrnl->misc.data.umrefc_ix.waiting
+ = tpd->leader_state.umrefc_ix.waiting;
if (waiting_unmanaged)
set_flags |= ERTS_THR_PRGR_LFLG_WAITING_UM;