aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
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 e38c9d9018..e1286253a5 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -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