Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: How do I wait until all processes in a job have exited?

$
0
0

[This article shows how you close the window: You start the child process suspended. -Raymond]

Sorry, I forgot to mention that.  My implementation does use CREATE_SUSPENDED.  The problem, though, is that if you somehow crash or get terminated between CreateProcess and AssignProcessToJobObject, you leave the suspended child process as a zombie.


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>