thread.c: fix deadlock
RUBY_VM_CHECK_INTS_BLOCKING
sleep_forever
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread.c: fix deadlock
RUBY_VM_CHECK_INTS_BLOCKING
, butsleep_forever
does notconsider the condition change to wait.
[ruby-core:84248] [Bug #14181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e