summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 04:16:06 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 04:16:06 +0000
commit5f0b8afb97d7830de8f04a7d6a39cde660020c69 (patch)
tree586fd664680dab1af107c4867000d4280ff054e7 /cont.c
parent94c942ed34e328f23c3d3316b4bf66ecfda8bf8a (diff)
* vm_core.h, thread.c, cont.c: add RUBY_VM_SET_INTERRUPT(),
RUBY_VM_SET_TIMER_INTERRUPT(), RUBY_VM_INTERRUPTED(). * thread.c, thread_pthread.c, thread_win32.c: fix to ignore time slice event until sleep. * bootstraptest/test_thread.rb: add a test for time limited join test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index c153e5fc59..43b0ea77f2 100644
--- a/cont.c
+++ b/cont.c
@@ -610,7 +610,7 @@ rb_fiber_start(void)
th->thrown_errinfo =
vm_make_jump_tag_but_local_jump(state, th->errinfo);
}
- th->interrupt_flag = 1;
+ RUBY_VM_SET_INTERRUPT(th);
}
rb_fiber_terminate(cont);