summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-01 02:17:14 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-01 02:17:14 +0000
commit1cc19523c25029d66df15086de65b01a7dbe98f7 (patch)
treeb7b43c23fde451301a741a05a5d4d20995f867ca /cont.c
parent05b05a8f56fbf9d1558c108d8eee3a09e4a78823 (diff)
Revert r66968
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@66975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/cont.c b/cont.c
index 8d54b369a6..c56ea0f6e6 100644
--- a/cont.c
+++ b/cont.c
@@ -1660,20 +1660,6 @@ rb_fiber_s_current(VALUE klass)
-#ifdef HAVE_WORKING_FORK
-void
-rb_fiber_atfork(rb_thread_t *th)
-{
- if (th->root_fiber) {
- if (&th->root_fiber->cont.saved_ec != th->ec) {
- th->root_fiber = th->ec->fiber_ptr;
- th->root_fiber->cont.type = ROOT_FIBER_CONTEXT;
- }
- th->root_fiber->prev = 0;
- }
-}
-#endif
-
/*
* Document-class: FiberError
*