* lib/thread.rb (ConditionVariable#broadcast): use Mutex
instead of Thread.exclusive.
* lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
before calling Mutex#unlock.
2 lines of code changed in:
set svn:eol-style
0 lines of code changed in:
* test/monitor/test_monitor.rb (test_cond): use Queue#deq
insteadof sleep.
3 lines of code changed in:
* test/monitor/test_monitor.rb: fix the timing problem by Queue.
47 lines of code changed in:
* test/monitor/test_monitor.rb: added.
144 lines of code changed in: