allow Queue operation in trap.
thread_sync.c: allow spurious wakeup to check Queue status just after trap. [Bug #12405]
test/thread/test_queue.rb: add a test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
allow Queue operation in trap.
thread_sync.c: allow spurious wakeup to check Queue status just after trap.
[Bug #12405]
test/thread/test_queue.rb: add a test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e