mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Specify that size is non-committed memory.
This commit is contained in:
parent
561c9bcf3a
commit
dee0cfbb47
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ typedef LPTHREAD_START_ROUTINE w32_thread_start_func;
|
|||
static HANDLE
|
||||
w32_create_thread(DWORD stack_size, w32_thread_start_func func, void *val)
|
||||
{
|
||||
return start_thread(0, stack_size, func, val, CREATE_SUSPENDED, 0);
|
||||
return start_thread(0, stack_size, func, val, CREATE_SUSPENDED | STACK_SIZE_PARAM_IS_A_RESERVATION, 0);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue