Skip to content

Commit

Permalink
Merge branch 'rickard/alloc-opt/OTP-7775'
Browse files Browse the repository at this point in the history
* rickard/alloc-opt/OTP-7775:
  Fix thread progress debug code for has_reached_wakeup()
  • Loading branch information
rickard-green committed Dec 10, 2011
2 parents 8d03b91 + 62007af commit d293aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/emulator/beam/erl_thr_progress.c
Expand Up @@ -915,7 +915,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,
Expand Down

0 comments on commit d293aac

Please sign in to comment.