diff options
Diffstat (limited to 'thread_win32.c')
-rw-r--r-- | thread_win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c index 98fcb8d375..a810fb3622 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -555,7 +555,8 @@ void rb_thread_create_timer_thread(void) { if (timer_thread_id == 0) { - timer_thread_id = w32_create_thread(1024, timer_thread_func, GET_VM()); + timer_thread_id = w32_create_thread(1024 + (THREAD_DEBUG ? BUFSIZ : 0), + timer_thread_func, GET_VM()); w32_resume_thread(timer_thread_id); } } |