aboutsummaryrefslogtreecommitdiffstats
path: root/test/monitor
Commit message (Collapse)AuthorAgeFilesLines
* * lib/monitor.rb (wait): supported timeout.shugo2010-02-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added monitor.rb test. see #2240 the bug on ruby_1_8.nahi2009-10-201-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (ConditionVariable#broadcast): use Mutexshugo2007-02-241-0/+2
| | | | | | | | | | 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
* * test/monitor/test_monitor.rb (test_cond): use Queue#deqshugo2003-12-101-1/+3
| | | | | | | insteadof sleep. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/monitor/test_monitor.rb: fix the timing problem by Queue.shugo2003-11-121-32/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/monitor/test_monitor.rb: added.shugo2003-11-121-0/+144
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e