diff options
author | Maxim Fedorov <[email protected]> | 2018-11-19 14:15:43 -0800 |
---|---|---|
committer | Maxim Fedorov <[email protected]> | 2018-11-26 11:27:12 -0800 |
commit | 63077f5bb3011ec9a14aa9b9e39ed31e4525078b (patch) | |
tree | d8399c688de7e1cfda7655f0f2dfc6b2bbb75755 /configure.in | |
parent | d743f51960384dd17ae3cb905ec57e8012c3abd7 (diff) | |
download | otp-63077f5bb3011ec9a14aa9b9e39ed31e4525078b.tar.gz otp-63077f5bb3011ec9a14aa9b9e39ed31e4525078b.tar.bz2 otp-63077f5bb3011ec9a14aa9b9e39ed31e4525078b.zip |
erts: fix attempt to start timer when executing on dirty scheduler
Since OTP R20, there is a possibility for MAJOR garbage collection to
run on dirty scheduler. So DistEntry destructor is being called on
dirty scheduler as well. This, in turn, leads to an attempt to schedule
timer on a dirty scheduler too, which is impossible (and will assert
on debug build, but does succeed for release build, creating an
infinite busy loop, since aux work wakes scheduler up, but dirty
scheduler cannot execute aus work).
There is a similar method in erl_hl_timer, see erts_start_timer_callback.
Diffstat (limited to 'configure.in')
0 files changed, 0 insertions, 0 deletions