[前][次][番号順一覧][スレッド一覧]

ruby-changes:2761

From: ko1@a...
Date: 17 Dec 2007 11:40:53 +0900
Subject: [ruby-changes:2761] akr - Ruby:r14252 (trunk): * thread_win32.ci (native_thread_create): initialize

akr	2007-12-17 11:40:26 +0900 (Mon, 17 Dec 2007)

  New Revision: 14252

  Modified files:
    trunk/ChangeLog
    trunk/thread_win32.ci

  Log:
    * thread_win32.ci (native_thread_create): initialize
      th->machine_stack_maxsize as rb_gc_stack_maxsize.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread_win32.ci?r1=14252&r2=14251
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14252&r2=14251

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14251)
+++ ChangeLog	(revision 14252)
@@ -1,3 +1,8 @@
+Mon Dec 17 11:38:59 2007  Tanaka Akira  <akr@f...>
+
+	* 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@i...>
 
         * transcode.c (transcode_loop): removed special case (-1)
Index: thread_win32.ci
===================================================================
--- thread_win32.ci	(revision 14251)
+++ thread_win32.ci	(revision 14252)
@@ -429,7 +429,7 @@
     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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]