diff options
author | Rickard Green <[email protected]> | 2011-12-05 17:53:34 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-12-05 17:53:34 +0100 |
commit | 69969c2cd7b2aa3efbf35df8a908a17377a895a4 (patch) | |
tree | 7cc26577e574bb6cbdf66ec5ceac84ac50d062bb /erts/emulator | |
parent | dcc7ecbf6af5420af2d5dbd0e97fc7a2e0e894a6 (diff) | |
download | otp-69969c2cd7b2aa3efbf35df8a908a17377a895a4.tar.gz otp-69969c2cd7b2aa3efbf35df8a908a17377a895a4.tar.bz2 otp-69969c2cd7b2aa3efbf35df8a908a17377a895a4.zip |
Fix handle_async_ready_clean()
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 9db2e874c6..5e66c3e229 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -917,7 +917,7 @@ handle_async_ready_clean(ErtsAuxWorkData *awdp, #ifdef ERTS_SMP if (awdp->async_ready.need_thr_prgr - && !erts_thr_progress_has_reached(awdp->misc.thr_prgr)) { + && !erts_thr_progress_has_reached(awdp->async_ready.thr_prgr)) { return aux_work & ~ERTS_SSI_AUX_WORK_ASYNC_READY_CLEAN; } @@ -936,6 +936,7 @@ handle_async_ready_clean(ErtsAuxWorkData *awdp, erts_thr_progress_wakeup(awdp->esdp, awdp->async_ready.thr_prgr); awdp->async_ready.need_thr_prgr = 1; + return aux_work & ~ERTS_SSI_AUX_WORK_ASYNC_READY_CLEAN; #endif default: return aux_work; |