diff options
author | NARUSE, Yui <[email protected]> | 2019-07-10 15:49:10 +0900 |
---|---|---|
committer | NARUSE, Yui <[email protected]> | 2019-07-10 18:13:38 +0900 |
commit | f91879a7b548284c93743168acfd11e3d2aeefac (patch) | |
tree | 69fed5cf2dee4d3d59ce87e89c5ae77cc80183f4 /lib/forwardable | |
parent | 1d2ec4b21647089598d0be3a8bc5f56a71b5e892 (diff) |
handle_interrupt to defend monitor state [Bug #15992]
If an exception is raised from another thread for example Timeout
and this thread is just after `mon_exit`'s `@mon_owner = nil`,
the exception breaks the state of MonitorMixin. To prevent that situation,
it need to block interruption in mon_enter and mon_exit.
Diffstat (limited to 'lib/forwardable')
0 files changed, 0 insertions, 0 deletions