diff options
author | cheatfate <ka@hardcore.kiev.ua> | 2017-12-11 21:12:07 +0200 |
---|---|---|
committer | cheatfate <ka@hardcore.kiev.ua> | 2017-12-11 21:12:07 +0200 |
commit | 59d45305629e54b8cc9a1f2e0991609363d792a4 (patch) | |
tree | bb1a557e7c40962e983c6f1eaea815651cb13a94 /lib/windows | |
parent | 28e0bf9dcd62f387c79f767848cadd8b71d825de (diff) | |
download | Nim-59d45305629e54b8cc9a1f2e0991609363d792a4.tar.gz |
Remove `-3` as marker of exited process.
Cache exiting process for Windows to omit unnecessary syscalls. Fix closing hThread for Windows. Fix for pause/resume on Windows. Fix process handle leak on Windows. Change behavior for waitForExit on Windows.
Diffstat (limited to 'lib/windows')
-rw-r--r-- | lib/windows/winlean.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/windows/winlean.nim b/lib/windows/winlean.nim index 7eb268a9a..a833377e5 100644 --- a/lib/windows/winlean.nim +++ b/lib/windows/winlean.nim @@ -111,6 +111,7 @@ const WAIT_TIMEOUT* = 0x00000102'i32 WAIT_FAILED* = 0xFFFFFFFF'i32 INFINITE* = -1'i32 + STILL_ACTIVE* = 0x00000103'i32 STD_INPUT_HANDLE* = -10'i32 STD_OUTPUT_HANDLE* = -11'i32 |