[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

waitpid in threads



Hallo,

I wrote an application that forks several processes. After the forks
succeeded I start one thread per process to check if the process is
still alive or not. In the threads I tried to use waitpid(...)  but
I always get the errno 10 ("No child process').  I assumed that all
children of a process are also children of the threads of a process! Any
ideas, comments?

Regards,

Wolfgang

Reply to: