diff options
author | Patrik Nyblom <[email protected]> | 2011-11-16 14:58:58 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2011-12-02 15:26:44 +0100 |
commit | d1a8bdbe2c9df1079e70342e020fe00a80e3d7c3 (patch) | |
tree | 9846ee3c5f0c217e9c9153bc202dc099435daa4a /erts/emulator/sys | |
parent | e04704b1f40511a6e1090b4cb04ef543580cdcc7 (diff) | |
download | otp-d1a8bdbe2c9df1079e70342e020fe00a80e3d7c3.tar.gz otp-d1a8bdbe2c9df1079e70342e020fe00a80e3d7c3.tar.bz2 otp-d1a8bdbe2c9df1079e70342e020fe00a80e3d7c3.zip |
Remove ancient WaitForInputIdle workaround
Diffstat (limited to 'erts/emulator/sys')
-rwxr-xr-x[-rw-r--r--] | erts/emulator/sys/win32/sys.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/erts/emulator/sys/win32/sys.c b/erts/emulator/sys/win32/sys.c index 6f33ef7ad6..a49fa8ca34 100644..100755 --- a/erts/emulator/sys/win32/sys.c +++ b/erts/emulator/sys/win32/sys.c @@ -1634,17 +1634,6 @@ create_child_process WaitForSingleObject(hProcess, 50); } - /* - * When an application spawns a process repeatedly, a new thread - * instance will be created for each process but the previous - * instances may not be cleaned up. This results in a significant - * virtual memory loss each time the process is spawned. If there - * is a WaitForInputIdle() call between CreateProcess() and - * CloseHandle(), the problem does not occur. PSS ID Number: Q124121 - */ - - WaitForInputIdle(piProcInfo.hProcess, 5000); - return ok; } |