aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-03-27 20:59:01 +0100
committerSverker Eriksson <[email protected]>2014-03-27 20:59:01 +0100
commit56018ef95e70c5630c1c6fe16d22b54f8ecd0791 (patch)
tree8504196098cc4bb9d32f43e283b7476044206fee /lib
parenta74e66a68f3b4ed590f928b4fd4f0808c6287a32 (diff)
downloadotp-56018ef95e70c5630c1c6fe16d22b54f8ecd0791.tar.gz
otp-56018ef95e70c5630c1c6fe16d22b54f8ecd0791.tar.bz2
otp-56018ef95e70c5630c1c6fe16d22b54f8ecd0791.zip
erts: Fix bug of scheduling a suspended process
This is a race that can cause RUNNING (instead of RUNNING_SYS) set on a SUSPENDED process. The effect of this race happening is probably quite benign. The bug was discovered by process_SUITE:processes_gc_trap on debug VM crashing on last assert in schedule(): /* Never run a suspended process */ ASSERT(!(ERTS_PSFLG_SUSPENDED & erts_smp_atomic32_read_nob(&p->state)));
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions