diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 99edbc62e1..e974b73e6f 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -356,7 +356,9 @@ thread_start_func_1(void *th_ptr) rb_thread_t *th = th_ptr; VALUE stack_start; +#ifndef __CYGWIN__ native_thread_init_stack(th); +#endif /* run */ thread_start_func_2(th, &stack_start, rb_ia64_bsp()); } |