diff options
author | Sverker Eriksson <[email protected]> | 2018-05-15 20:58:28 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-05-15 21:11:05 +0200 |
commit | 827b96ae2d657905ada2ec49de1f0b863cf83401 (patch) | |
tree | 742f8d89dd7981db03fed2471df63993c6ff8805 /erts/emulator/beam/erl_proc_sig_queue.c | |
parent | a5a8672522b585e093cf2017827004171c72b295 (diff) | |
download | otp-827b96ae2d657905ada2ec49de1f0b863cf83401.tar.gz otp-827b96ae2d657905ada2ec49de1f0b863cf83401.tar.bz2 otp-827b96ae2d657905ada2ec49de1f0b863cf83401.zip |
erts: Fix bug when scheduling monitor-msg combo
Bug introduced in master by
613cde66c25464121f2f6dace99782bad0e07d9b
Diffstat (limited to 'erts/emulator/beam/erl_proc_sig_queue.c')
-rw-r--r-- | erts/emulator/beam/erl_proc_sig_queue.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/erts/emulator/beam/erl_proc_sig_queue.c b/erts/emulator/beam/erl_proc_sig_queue.c index 17fdc98183..6d81044c39 100644 --- a/erts/emulator/beam/erl_proc_sig_queue.c +++ b/erts/emulator/beam/erl_proc_sig_queue.c @@ -680,15 +680,7 @@ first_last_done: sig_enqueue_trace_cleanup(first, sig, last); } - if (!(state & (ERTS_PSFLG_EXITING - | ERTS_PSFLG_ACTIVE_SYS - | ERTS_PSFLG_SIG_IN_Q))) { - /* Schedule process... */ - state = erts_proc_sys_schedule(rp, state, 0); - } - - if (state & (ERTS_PSFLG_DIRTY_RUNNING | ERTS_PSFLG_DIRTY_RUNNING_SYS)) - erts_make_dirty_proc_handled(rp->common.id, state, -1); + erts_proc_notify_new_sig(rp, state, 0); if (!is_normal_sched) erts_proc_dec_refc(rp); |