* 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
@ -628,7 +628,7 @@ thread_start_func_1(void *th_ptr)
|
|||||||
static int
|
static int
|
||||||
native_thread_create(rb_thread_t *th)
|
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);
|
th->thread_id = w32_create_thread(stack_size, thread_start_func_1, th);
|
||||||
|
|
||||||
if ((th->thread_id) == 0) {
|
if ((th->thread_id) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user