[ruby-cvs:51997] normal:r44852 (trunk): ext/thread: SizedQueue#max= wakes up waiters properly

normal at ruby-lang.org normal at ruby-lang.org
Thu Feb 6 08:35:06 JST 2014


normal	2014-02-06 08:35:06 +0900 (Thu, 06 Feb 2014)

  New Revision: 44852

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

  Log:
    ext/thread: SizedQueue#max= wakes up waiters properly
    
    * ext/thread/thread.c (rb_szqueue_max_set): use correct queue and
      limit wakeups.  [Bug #9343][ruby-core:60517]
    * test/thread/test_queue.rb (test_sized_queue_assign_max):
      test for bug

  Modified files:
    trunk/ChangeLog
    trunk/ext/thread/thread.c
    trunk/test/thread/test_queue.rb


More information about the ruby-cvs mailing list