[ruby-cvs:59192] eregon:r52041 (trunk): * test/ruby/test_thread.rb: fix potential race condition.

eregon at ruby-lang.org eregon at ruby-lang.org
Mon Oct 5 20:44:31 JST 2015


eregon	2015-10-05 20:44:30 +0900 (Mon, 05 Oct 2015)

  New Revision: 52041

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

  Log:
    * test/ruby/test_thread.rb: fix potential race condition.
      The thread could have a "sleep" status because it tries
      to acquire the mutex, but does not have it yet.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_thread.rb


More information about the ruby-cvs mailing list