Project

General

Profile

Backport #5130 » thread.c.diff

jeremyevans0 (Jeremy Evans), 08/04/2011 07:21 AM

View differences:

thread.c Wed Aug 3 14:10:12 2011
rb_thread_t *join_th;
rb_thread_t *main_th;
VALUE errinfo = Qnil;
if (GET_VM()->inhibit_thread_creation) {
thread_debug("not starting thread due to interpreter shutdown: %p\n", (void *)th);
thread_cleanup_func(th, FALSE);
st_delete(th->vm->living_threads, th, NULL);
return 1;
}
# ifdef USE_SIGALTSTACK
void rb_register_sigaltstack(rb_thread_t *th);
(2-2/3)