summaryrefslogtreecommitdiff
path: root/thread_win32.ci
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.ci')
-rw-r--r--thread_win32.ci2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_win32.ci b/thread_win32.ci
index d71040836b..9c5ef7f33c 100644
--- a/thread_win32.ci
+++ b/thread_win32.ci
@@ -429,6 +429,8 @@ native_thread_create(rb_thread_t *th)
size_t stack_size = 4 * 1024; /* 4KB */
th->thread_id = w32_create_thread(stack_size, thread_start_func_1, th);
+ th->machine_stack_maxsize = 64 * 1024; /* not tested. just a guess at all. */
+
if ((th->thread_id) == 0) {
st_delete_wrap(th->vm->living_threads, th->self);
rb_raise(rb_eThreadError, "can't create Thread (%d)", errno);