shugo
|
1adef15072
|
* lib/thread.rb (ConditionVariable#broadcast): use Mutex
instead of Thread.exclusive.
* lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
before calling Mutex#unlock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-02-24 07:01:18 +00:00 |
shugo
|
2a3f367151
|
* test/monitor/test_monitor.rb (test_cond): use Queue#deq
insteadof sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2003-12-10 06:02:27 +00:00 |
shugo
|
ecec550855
|
* test/monitor/test_monitor.rb: fix the timing problem by Queue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2003-11-12 05:10:54 +00:00 |
shugo
|
64446f023c
|
* test/monitor/test_monitor.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2003-11-12 04:01:21 +00:00 |