mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
71b1673229
commit
a534e39a87
4 changed files with 10 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue