in reply to Re^3: child process termination on Windows
in thread child process termination on Windows

Thanks a lot, I like this.

I have two more question though:

According to the the documentation wait any returns negative values when the object is "is an abandoned mutex" (whatever that is). As you are waiting on process-objects I think this can not happen - so do you really neeed the abs()?

And strictly speaking wait_any does not wait for process termination but for the process to become "signalled" (so Windows does have some sort of signals :-). Are there any circumstances that a process can become "signalled" (i.e. wait_any returns) but does not terminate?

Many thanks!

  • Comment on Re^4: child process termination on Windows

Replies are listed 'Best First'.
Re^5: child process termination on Windows
by ReturnOfThelonious (Beadle) on Nov 24, 2009 at 14:58 UTC
    I don't know the answers to either of your questions, sorry. I wondered the same things as I read the docs.