aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-05 18:58:45 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-05 18:58:45 +0000
commit818f1c65ab6534acdbe539616843cfec3ac794fa (patch)
tree01852c8e2482eb356c6409cb9ec99fbe4e08aed6 /internal.h
parente941daa6dd114b52356a63d3c3db5684e6c66717 (diff)
downloadruby-818f1c65ab6534acdbe539616843cfec3ac794fa.tar.gz
thread_sync.c (mutex_ptr): handle mutexes held by parent threads in children
Mutexes may be held by threads which only exist in the parent process, so their waitqueues may be populated with references to other dead threads. We must reset them at fork. I am a moron for introducing this bug :< [ruby-core:90312] [Bug #15383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions