3 ms·
A thread on Windows is MUCH heavier than Linux. 1 MB stack from what I remember plus takes a lot longer to create.
by Matheus28 4y ago
A thread on Windows is MUCH heavier than Linux. 1 MB stack from what I remember plus takes a lot longer to create.
- dragontamer 4y agodwStackSize can be set as low as 64kB though. So if you're in the habit of making millions-of-threads, maybe make them smaller on Windows? It does default to 1MB, but these sorts of things are configurable.