aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-08 01:40:08 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-08 01:40:08 +0000
commitdbcda636a6a3d67e31ca76b5a31b6a99ea0bade4 (patch)
treea1f96baf6c1eb5cd5de6dd4fad268602eab3099b /thread_win32.c
parent0d92aac60205ef80daae9b7b32e822c9f243549e (diff)
downloadruby-dbcda636a6a3d67e31ca76b5a31b6a99ea0bade4.tar.gz
* thread_win32.c (native_thread_create): add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 3fd844018e..459ae4c097 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -628,7 +628,7 @@ thread_start_func_1(void *th_ptr)
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) {