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_message.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_message.c')
-rw-r--r-- | erts/emulator/beam/erl_message.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c index bea7a0fe86..507cc989d2 100644 --- a/erts/emulator/beam/erl_message.c +++ b/erts/emulator/beam/erl_message.c @@ -379,7 +379,10 @@ queue_messages(Process* receiver, erts_proc_unlock(receiver, ERTS_PROC_LOCK_MSGQ); } - erts_proc_notify_new_message(receiver, receiver_locks); + if (last == &first->next) + erts_proc_notify_new_message(receiver, receiver_locks); + else + erts_proc_notify_new_sig(receiver, state, ERTS_PSFLG_ACTIVE); } static ERTS_INLINE |