Subj : Re: threaded program and wait() call To : comp.programming.threads From : ptjm Date : Tue Aug 09 2005 05:19 am In article <1123469208.246912.265630@g47g2000cwa.googlegroups.com>, tadek wrote: % I haven't tried your suggestion (SIGCLD) (I'm away from my target % system today), but I don't see how would it help. BTW shouldn't I use % SIGCHLD instead? SIGCHLD is sent to the parent process when a child exits. wait() usually blocks waiting for SIGCHLD to be received. I was thinking that you might have problems because due to the way signals are delivered to multi-threaded processes, but on reflection this is probably not an issue. -- Patrick TJ McPhee North York Canada ptjm@interlog.com .