aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-18 18:29:28 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-18 18:29:28 +0000
commit9e59487a38d914275bedcde723923f22b3779e59 (patch)
tree6f0ee5edcd40e00263c4a6c3ed455f1425b744d0 /version.h
parentc742050ea5fd30108f913383c0fafc4614adb04c (diff)
downloadruby-9e59487a38d914275bedcde723923f22b3779e59.tar.gz
thread.c (sleep_*): check interrupt before changing th->status
Having threads switch before we sleep can cause applications to misread the state of the thread. Now, we are consistent with blocking_region_begin behavior and change th->status AFTER checking interrupts. Maybe this can fix [Bug #15002] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions