Project

General

Profile

« Previous | Next » 

Revision f91879a7

Added by naruse (Yui NARUSE) almost 5 years ago

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.