summaryrefslogtreecommitdiff
path: root/dmydln.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-12 20:49:24 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-12 20:49:24 +0000
commit12409ad28cf909f84ccae8096bba2beb442266df (patch)
tree97b50c3e9ac4db6014ca3b5de2c25150faaa2ae0 /dmydln.c
parentd40694de726aab80ced4d4a264d08664db2112d2 (diff)
fiber: fix crash on GC after forking
Remove the remainder of ROOT_FIBER_CONTEXT use and unnecessary differences between the root and non-root fiber. This makes it easier to follow new root fiber at fork time. Multiple sources of truth often leads to bugs, as in this case. We can determinte root fiber by checking a fiber against the root_fiber of its owner thread. The new `fiber_is_root_p' function supports that. Now, we can care only about free-ing/recycling/munmap-ing stacks as appropriate. [Bug #15050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmydln.c')
0 files changed, 0 insertions, 0 deletions