Subj : Re: killing thread To : comp.programming.threads From : ptjm Date : Thu Aug 11 2005 04:46 am In article <2005081019163611272%ferruccio@devzeroit>, Vitale Ferruccio wrote: [...] % With this proposed solution, the mutex is locked by one of the two threads, % which doesn't permit the execution of the other one.. right? :-? No. The condition wait releases the mutex, then reacquires it when its wait is finished. You haven't posted a complete program, but what you have posted ought to work, although it seems to have some redundant pthread_exit()s. -- Patrick TJ McPhee North York Canada ptjm@interlog.com .