5
5
#define WIN32_LEAN_AND_MEAN
11
12
/* 1MB is default stack size for 32-bit Windows.
12
13
Allocation granularity on Windows is typically 64 KB.
13
14
The constant is also hardcoded in cmd/ld/pe.c (keep synchronized). */
14
15
#define STACKSIZE (1*1024*1024)
20
21
g->stackguard = (uintptr)&tmp - STACKSIZE + 8*1024;
28
28
_beginthread(threadentry, 0, ts);