diff options
author | José Valim <[email protected]> | 2016-03-31 10:48:11 +0200 |
---|---|---|
committer | José Valim <[email protected]> | 2016-03-31 11:02:34 +0200 |
commit | 44d5789619c70863af918ee5e2bdd7d411e68e80 (patch) | |
tree | 466c3fda593bdb92291a8782e7b575ddbce14915 /erts/emulator | |
parent | 10a218b37324fd94ddbfe5568554de263492c82c (diff) | |
download | otp-44d5789619c70863af918ee5e2bdd7d411e68e80.tar.gz otp-44d5789619c70863af918ee5e2bdd7d411e68e80.tar.bz2 otp-44d5789619c70863af918ee5e2bdd7d411e68e80.zip |
Avoid potential timer bottleneck on supervisor restart
Prior to this patch, when the supervisor was unable to
restart a child, it used the timer process to execute
a function later on, allowing other messages in the
supervisor queue to be consumed.
This patch keeps the same idea but bypasses the timer
process by directly sending a message to the supervisor
process itself.
Diffstat (limited to 'erts/emulator')
0 files changed, 0 insertions, 0 deletions