diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 02:40:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 02:40:26 +0000 |
commit | c392e6e66603853e4b0880d9b86c559e0e9f0e0f (patch) | |
tree | a3cd0e84dd346192b3ff4730217627f2a30cbe0c /thread_win32.ci | |
parent | 5c4cf9bfdfa8afe48c096830787d4e7e6ae7bb23 (diff) | |
download | ruby-c392e6e66603853e4b0880d9b86c559e0e9f0e0f.tar.gz |
* thread_win32.ci (native_thread_create): initialize
th->machine_stack_maxsize as rb_gc_stack_maxsize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.ci')
-rw-r--r-- | thread_win32.ci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.ci b/thread_win32.ci index 9c5ef7f33c..d84cd341cc 100644 --- a/thread_win32.ci +++ b/thread_win32.ci @@ -429,7 +429,7 @@ 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. */ + th->machine_stack_maxsize = rb_gc_stack_maxsize; /* not tested. */ if ((th->thread_id) == 0) { st_delete_wrap(th->vm->living_threads, th->self); |