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:
parent
0d92aac602
commit
dbcda636a6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue