[ruby-cvs:51728] charliesome:r44583 (trunk): * ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS

charliesome at ruby-lang.org charliesome at ruby-lang.org
Mon Jan 13 12:18:38 JST 2014


charliesome	2014-01-13 12:18:38 +0900 (Mon, 13 Jan 2014)

  New Revision: 44583

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

  Log:
    * ext/thread/thread.c (rb_szqueue_push): check GET_SZQUEUE_WAITERS
      instead of GET_QUEUE_WAITERS to prevent deadlock. Patch by Eric Wong.
      [Bug #9302] [ruby-core:59324]
    
    * test/thread/test_queue.rb: add test

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


More information about the ruby-cvs mailing list