summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index af56f01507..285852baa9 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -344,6 +344,7 @@ thread_start_func_1(void *th_ptr)
rb_thread_t *th = th_ptr;
VALUE stack_start;
+ native_thread_init_stack(th);
/* run */
thread_start_func_2(th, &stack_start, rb_ia64_bsp());
}