Linux c++ management of processes
-
Hi, I'm writing a batchmanager which launches some jobs (processes as children). Is there a good book about processes? What's the best way to know when children have done executing? Is there any good book available for this? Greetings, Jens
Well i don't know if you want to know this. I don't have much idea about doing this using pure c++. but if you are using VC++ or MFC you can use GetExitCodeThread(hThread, &dwWaitReturn); function to get the exit code of the thread. there r various exit codes. eg. STILL_ACTIVE: you can use not-STILL_ACTIVE to know that the thread has done (Actually i don't remeber the other exit codes--Check out in MSDN). Cheers.:)
-
Hi, I'm writing a batchmanager which launches some jobs (processes as children). Is there a good book about processes? What's the best way to know when children have done executing? Is there any good book available for this? Greetings, Jens
Why are you asking a Linux question on what is the preeminent Windows programming site?
Software Zen:
delete this;