diff options
author | Rickard Green <[email protected]> | 2011-12-10 17:01:52 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-12-10 17:01:52 +0100 |
commit | 62007afc41ea3ed970793382b06cec205deba979 (patch) | |
tree | fee16ff90fe2c26cec62025312f8c2d383f4edc6 /erts/emulator/beam/erl_thr_progress.c | |
parent | 970224fc70aec4bf96e668f61b0bf41eef7af545 (diff) | |
download | otp-62007afc41ea3ed970793382b06cec205deba979.tar.gz otp-62007afc41ea3ed970793382b06cec205deba979.tar.bz2 otp-62007afc41ea3ed970793382b06cec205deba979.zip |
Fix thread progress debug code for has_reached_wakeup()
Diffstat (limited to 'erts/emulator/beam/erl_thr_progress.c')
-rw-r--r-- | erts/emulator/beam/erl_thr_progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_thr_progress.c b/erts/emulator/beam/erl_thr_progress.c index 826570b928..b9883b1e79 100644 --- a/erts/emulator/beam/erl_thr_progress.c +++ b/erts/emulator/beam/erl_thr_progress.c @@ -744,7 +744,7 @@ has_reached_wakeup(ErtsThrPrgrVal wakeup) if (limit == ERTS_THR_PRGR_VAL_WAITING) limit = 0; else if (limit < current) /* Wrapped */ - limit + 1; + limit += 1; if (!erts_thr_progress_has_passed__(limit, wakeup)) erl_exit(ERTS_ABORT_EXIT, |