[ruby-cvs:52077] usa:r44932 (ruby_1_9_3): * lib/thread.rb (SizedQueue#clear): wake waiting threads when called.

usa at ruby-lang.org usa at ruby-lang.org
Fri Feb 14 12:48:43 JST 2014


usa	2014-02-14 12:48:42 +0900 (Fri, 14 Feb 2014)

  New Revision: 44932

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

  Log:
    * lib/thread.rb (SizedQueue#clear): wake waiting threads when called.
      [Bug #9342] [ruby-core:59462]
    
    * test/thread/test_queue.rb: add a test for above.
    
    patched by Justin Collins.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/lib/thread.rb
    branches/ruby_1_9_3/test/thread/test_queue.rb
    branches/ruby_1_9_3/version.h


More information about the ruby-cvs mailing list