aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-18 09:07:36 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-18 09:07:36 +0000
commitfe2f89af9ad6bd87ec91b7042593bc8c7247708b (patch)
treeabc70486d79868a0773368ab39ee94d6b316bed5 /numeric.c
parent3bee3527fd397921b3e4aa3ea001d7b2af99b3bc (diff)
downloadruby-fe2f89af9ad6bd87ec91b7042593bc8c7247708b.tar.gz
thread.c (sleep_*): reduce the effect of spurious interrupts
Spurious interrupts from SIGCHLD cause Mutex#sleep (via ConditionVariable#wait) to return early and breaks some use cases. Since these are outside the programs's control with MJIT, we will only consider pending interrupts (e.g. those from Thread#run) and signals which cause a Ruby-level Signal.trap handler to fire as "spurious" wakeups. [ruby-core:88537] [Feature #15002] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
0 files changed, 0 insertions, 0 deletions