aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_proc_sig_queue.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-05-15 20:58:28 +0200
committerSverker Eriksson <[email protected]>2018-05-15 21:11:05 +0200
commit827b96ae2d657905ada2ec49de1f0b863cf83401 (patch)
tree742f8d89dd7981db03fed2471df63993c6ff8805 /erts/emulator/beam/erl_proc_sig_queue.c
parenta5a8672522b585e093cf2017827004171c72b295 (diff)
downloadotp-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.c10
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);