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.
This commit is contained in:
parent
28e0bf9dcd
commit
59d4530562
2 changed files with 77 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue