1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2012-06-08 01:40:08 +00:00
parent 0d92aac602
commit dbcda636a6

View file

@ -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) {