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

ruby-changes:23905

From: usa <ko1@a...>
Date: Fri, 8 Jun 2012 10:40:19 +0900 (JST)
Subject: [ruby-changes:23905] usa:r35956 (trunk): * thread_win32.c (native_thread_create): add a comment.

usa	2012-06-08 10:40:08 +0900 (Fri, 08 Jun 2012)

  New Revision: 35956

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35956

  Log:
    * thread_win32.c (native_thread_create): add a comment.

  Modified files:
    trunk/thread_win32.c

Index: thread_win32.c
===================================================================
--- thread_win32.c	(revision 35955)
+++ thread_win32.c	(revision 35956)
@@ -628,7 +628,7 @@
 static int
 native_thread_create(rb_thread_t *th)
 {
-    size_t stack_size = 4 * 1024; /* 4KB */
+    size_t stack_size = 4 * 1024; /* 4KB is the minimum commit size */
     th->thread_id = w32_create_thread(stack_size, thread_start_func_1, th);
 
     if ((th->thread_id) == 0) {

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

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