diff options
author | Sverker Eriksson <[email protected]> | 2019-07-01 14:46:12 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2019-07-01 14:46:12 +0200 |
commit | 4381bf5c3e921152d6e8c9d75a9b27013d51da7b (patch) | |
tree | a638ac0bdf1762058d0194f55a48c3e197c31c3d /erts/emulator/beam/erl_process.h | |
parent | 6839c250fe21b19b100b2ac156b0422c0ec0358d (diff) | |
parent | 6dd7f3010b360f655691b9f167963dd13ccca8d6 (diff) | |
download | otp-4381bf5c3e921152d6e8c9d75a9b27013d51da7b.tar.gz otp-4381bf5c3e921152d6e8c9d75a9b27013d51da7b.tar.bz2 otp-4381bf5c3e921152d6e8c9d75a9b27013d51da7b.zip |
Merge PR-2313 from poroh/poroh/erts/sched-stuck-fix OTP-15941
Infinite cycle fixed on try to change run queue (if it has already ch…
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index 0d6b512f78..745a2a482c 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -2353,6 +2353,8 @@ erts_try_change_runq_proc(Process *p, ErtsRunQueue *rq) old_rqint); if (act_rqint == old_rqint) return !0; + + old_rqint = act_rqint; } } |