1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 07:11:47 +02:00

Implement setStackSize for Windows

This commit is contained in:
PoweredByPie 2024-05-18 04:27:09 -07:00
parent e42d00c961
commit 6a3f906382
2 changed files with 21 additions and 4 deletions

View file

@ -17,12 +17,10 @@ namespace nix {
*/
unsigned int getMaxCPU();
#ifndef _WIN32 // TODO implement on Windows, if needed.
/**
* Change the stack size.
*/
void setStackSize(size_t stackSize);
#endif
/**
* Restore the original inherited Unix process context (such as signal