From 6bb1e114ef5dc0df8acb05a50fe3f7a1c5529a2c Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Tue, 29 Jan 2013 01:37:16 +0100 Subject: Fix unmanaged thread progress delay --- erts/emulator/beam/erl_thr_progress.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'erts/emulator') 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; -- cgit v1.2.3