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 | 49492fd107f38dc3f8e60724ee767ed4fb4336b2 (patch) | |
| tree | a3cd0e84dd346192b3ff4730217627f2a30cbe0c | |
| parent | 8e2e0c5ca3d87b96df5a55a1275dd8f2f22a6ce7 (diff) | |
| download | ruby-49492fd107f38dc3f8e60724ee767ed4fb4336b2.tar.gz ruby-49492fd107f38dc3f8e60724ee767ed4fb4336b2.tar.xz ruby-49492fd107f38dc3f8e60724ee767ed4fb4336b2.zip | |
* thread_win32.ci (native_thread_create): initialize
th->machine_stack_maxsize as rb_gc_stack_maxsize.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | thread_win32.ci | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Dec 17 11:38:59 2007 Tanaka Akira <akr@fsij.org> + + * thread_win32.ci (native_thread_create): initialize + th->machine_stack_maxsize as rb_gc_stack_maxsize. + Sun Dec 16 17:07:35 2007 Martin Duerst <duerst@it.aoyama.ac.jp> * transcode.c (transcode_loop): removed special case (-1) diff --git a/thread_win32.ci b/thread_win32.ci index 9c5ef7f33..d84cd341c 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); |
