Subj : Re: Does pthread emit a sigchld signal on successful exit? To : comp.programming.threads From : David Schwartz Date : Thu Aug 18 2005 06:51 pm "chuckles" wrote in message news:1124408617.285476.321070@g44g2000cwa.googlegroups.com... > Thanks for your reply, altho I was a bit confused when you suggested > using pthread_kill as I found a post "Problem with pthread_kill" which > you posted in that seemed to indicate that wasn't a good way to go. This assumption is that you control the lifetime of the thread, it is not detached, and you are responsible for joining the thread. In that case, pthread_kill is perfectly fine. If those assumptions don't hold, you have to do it some other way. > Anyway sorry for the obvious question I originally posted a question on > a different forum as to how to determine if a thread had exited without > calling join on it and the answer I received was to catch sigchld. > Still should have known better. Someone must have either been really confused or misread "thread" as "process". DS .