Project

General

Profile

« Previous | Next » 

Revision 44852

Added by normal over 5 years ago

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