[ruby-cvs:57673] shugo:r50525 (trunk): * lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count

shugo at ruby-lang.org shugo at ruby-lang.org
Mon May 18 13:56:23 JST 2015


shugo	2015-05-18 13:56:22 +0900 (Mon, 18 May 2015)

  New Revision: 50525

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50525

  Log:
    * lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count
      just in case the previous owner thread dies without mon_exit.
      [fix GH-874] Patch by @chrisberkhout

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


More information about the ruby-cvs mailing list