aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-12-10 17:01:52 +0100
committerRickard Green <[email protected]>2011-12-10 17:01:52 +0100
commit62007afc41ea3ed970793382b06cec205deba979 (patch)
treefee16ff90fe2c26cec62025312f8c2d383f4edc6 /erts
parent970224fc70aec4bf96e668f61b0bf41eef7af545 (diff)
downloadotp-62007afc41ea3ed970793382b06cec205deba979.tar.gz
otp-62007afc41ea3ed970793382b06cec205deba979.tar.bz2
otp-62007afc41ea3ed970793382b06cec205deba979.zip
Fix thread progress debug code for has_reached_wakeup()
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_thr_progress.c2
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,