diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-29 08:04:09 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-29 08:04:09 +0000 |
commit | ac543abe91d7325ace7254f635f34e71e1faaf2e (patch) | |
tree | 5ca62909a8025cef2d949b57932b43df0a62b678 /thread_win32.c | |
parent | 43d3f813bc75dc532e15af5d22b4e6593030e8ff (diff) |
cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
because Fibers do not live across fork. So consider
whatever Fiber is running the root fiber.
[ruby-core:88723] [Bug #15041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
0 files changed, 0 insertions, 0 deletions