aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Poroh <[email protected]>2019-06-28 11:30:09 +0300
committerDmitry Poroh <[email protected]>2019-06-28 15:29:06 +0300
commit6dd7f3010b360f655691b9f167963dd13ccca8d6 (patch)
treeadc71d9dca99d2e0b30e3fbca966074cc7c59cb1
parenta0ae44f324576104760a63fe6cf63e0ca31756fc (diff)
downloadotp-6dd7f3010b360f655691b9f167963dd13ccca8d6.tar.gz
otp-6dd7f3010b360f655691b9f167963dd13ccca8d6.tar.bz2
otp-6dd7f3010b360f655691b9f167963dd13ccca8d6.zip
Infinite cycle fixed on try to change run queue (if it has already changed concurrently)
-rw-r--r--erts/emulator/beam/erl_process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index a60e117bab..1b29632096 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -2346,6 +2346,8 @@ erts_try_change_runq_proc(Process *p, ErtsRunQueue *rq)
old_rqint);
if (act_rqint == old_rqint)
return !0;
+
+ old_rqint = act_rqint;
}
}