aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testTimer.erl
diff options
context:
space:
mode:
authorJosé Valim <[email protected]>2016-03-31 10:48:11 +0200
committerJosé Valim <[email protected]>2016-03-31 11:02:34 +0200
commit44d5789619c70863af918ee5e2bdd7d411e68e80 (patch)
tree466c3fda593bdb92291a8782e7b575ddbce14915 /lib/asn1/test/testTimer.erl
parent10a218b37324fd94ddbfe5568554de263492c82c (diff)
downloadotp-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 'lib/asn1/test/testTimer.erl')
0 files changed, 0 insertions, 0 deletions