Subj : waiting on signals from multiple threads using pthreads To : comp.programming.threads From : red0356 Date : Sun Mar 13 2005 06:35 am In our application, we have three (possibly more) worker threads performing some task and another thread which waits for completion of all three tasks from the worker threads. All three worker threads are NOT synchronous and it is possible to have one worker thread complete multiple tasks before another worker thread completes one task. The waiting thread must wait for all three worker threads to complete at least one task, before doing its job. What is the best pthread implementation for this problem? Thanks in advance for all replies. .