aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-12-07 20:05:39 +0100
committerRickard Green <[email protected]>2011-12-07 20:21:24 +0100
commit2bfc6d6791274e8f170e8972c899dcb66e8881c1 (patch)
treef6699766d360dd0cb9991886dab9c2206730a15f /erts/emulator/beam/erl_process.c
parent69969c2cd7b2aa3efbf35df8a908a17377a895a4 (diff)
downloadotp-2bfc6d6791274e8f170e8972c899dcb66e8881c1.tar.gz
otp-2bfc6d6791274e8f170e8972c899dcb66e8881c1.tar.bz2
otp-2bfc6d6791274e8f170e8972c899dcb66e8881c1.zip
Fix cleanup of elements in lock-free queues
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 5e66c3e229..a6da4154e0 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -777,8 +777,8 @@ misc_aux_work_clean(ErtsThrQ_t *q,
case ERTS_THR_Q_DIRTY:
set_aux_work_flags(awdp->ssi, ERTS_SSI_AUX_WORK_MISC);
return aux_work | ERTS_SSI_AUX_WORK_MISC;
-#ifdef ERTS_SMP
case ERTS_THR_Q_NEED_THR_PRGR:
+#ifdef ERTS_SMP
set_aux_work_flags(awdp->ssi, ERTS_SSI_AUX_WORK_MISC_THR_PRGR);
erts_thr_progress_wakeup(awdp->esdp,
erts_thr_q_need_thr_progress(q));