summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-29 07:52:24 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-29 07:52:24 +0000
commit25b15f94415ed147526ef0f712ceb915e43ac0fe (patch)
treee7fc191080add11028c0753e8c4cf7e7a988b3de /spec/ruby
parentd3ae13571f33b3fc898c354f4f04fd0c4fe2e335 (diff)
process.c (waitpid_nogvl): check interrupts before sleeping
We may be interrupted by another thread after setting ubf, but before we re-acquire interrupt_lock again to sleep on w->cond. This should fix test_wait_interrupt in test/ruby/test_process.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions