summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-09 09:17:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-09 09:17:09 +0000
commita534e39a87b81804ca58dc0b765d338b83f0a96d (patch)
treee45655d0fd5be25e82a27b4c7ed4f44f460216d8 /thread_win32.c
parent71b1673229c57cd44b2ffe79bb094cfb986fbeca (diff)
* thread_{pthread,win32}.c (rb_thread_create_timer_thread): needs more
stack for debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c3
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);
}
}