Click to See Complete Forum and Search --> : windows child process termination indication


sjram
November 12th, 2009, 09:16 AM
hi,

I am creating on child process using createProcess() and execute one application.

When the application terminates, I need to call one function func(int pid); like linux signal(SIGCHLD, &fuct).

But in windows, i am not find SIGCHLD.

So, how can I call the new function when my child process terminates.

Is there any way in windows.

thank you

hoxsiew
November 12th, 2009, 11:32 AM
It's considered bad form to make the same request in two different threads. I was about to answer this when I saw that VictorN already replied here:

http://www.codeguru.com/forum/showthread.php?t=488061