diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-27 09:28:37 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-27 09:28:37 +0000 |
commit | 5880e12d1d40c5d53e00ed5a25063b2c19389668 (patch) | |
tree | 4503e0aa911338f50abdcc580a169d56f9f14a9a /lib | |
parent | de2221f4bc4ecdfa4f9bdd35c91ebcbfbfde3382 (diff) | |
download | ruby-5880e12d1d40c5d53e00ed5a25063b2c19389668.tar.gz |
thread_sync.c: avoid reaching across stacks of dead threads
rb_ensure is insufficient cleanup for fork and we must
reinitialize all waitqueues in the child process.
Unfortunately this increases the footprint of ConditionVariable,
Queue and SizedQueue by 8 bytes on 32-bit (16 bytes on 64-bit).
[ruby-core:86316] [Bug #14634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions