[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:19084

From: shugo ruby-lang.org
Date: Sat, 24 Feb 2007 16:01:19 +0900 (JST)
Subject: [ruby-cvs:19084] Ruby:r11848: * lib/thread.rb (ConditionVariable#broadcast): use Mutex

shugo	2007-02-24 16:01:18 +0900 (Sat, 24 Feb 2007)

  New Revision: 11848

  Modified files:
    trunk/ChangeLog
    trunk/lib/monitor.rb
    trunk/lib/thread.rb
    trunk/test/monitor/test_monitor.rb

  Log:
    * lib/thread.rb (ConditionVariable#broadcast): use Mutex
      instead of Thread.exclusive.
    
    * lib/monitor.rb (MonitorMixin#mon_exit): unset @mon_owner
      before calling Mutex#unlock.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/monitor.rb?r1=11848&r2=11847
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=11848&r2=11847
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/monitor/test_monitor.rb?r1=11848&r2=11847
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/thread.rb?r1=11848&r2=11847


[前][次][番号順一覧][スレッド一覧][生データ]