aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/sofs.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2019-01-21 12:09:31 +0100
committerRaimo Niskanen <[email protected]>2019-01-21 12:09:38 +0100
commit84d69a11fa44df8eeb377e0003f6dd7ae51976c4 (patch)
tree43c8f682d3a4b0e3c778e1b4f8ea97ca4e062312 /lib/stdlib/src/sofs.erl
parent12cecd07628cb28d7bc80c17bfc01ca783b8683c (diff)
downloadotp-84d69a11fa44df8eeb377e0003f6dd7ae51976c4.tar.gz
otp-84d69a11fa44df8eeb377e0003f6dd7ae51976c4.tar.bz2
otp-84d69a11fa44df8eeb377e0003f6dd7ae51976c4.zip
correct: Work around a compiler mis-optimization
This was not a compiler optimization that misfired, rather that the code neede separate case clauses for when the timer was running and not, so to not call erlang:cancel_timer/1 nor maps:remove/2 in the case clause where only a map update was needed before recursion. See the comment in loop_timouts_cancel/13
Diffstat (limited to 'lib/stdlib/src/sofs.erl')
0 files changed, 0 insertions, 0 deletions