Subj : Re: Study Material for Multi-threaded application developement in UNIX/LINUX To : comp.programming.threads From : Arash Partow Date : Thu May 26 2005 06:28 pm Hi Uenal, No if they were static then you could only ever have one instance of POSIXCondition. The condition variable once created can be passed around by reference to other threads which will use the variable either to wait on or to signal / waiting threads. The reason for the loop and such... is because signal and broadcast are two different waking mechanisms. In the pthreads standard broadcast wakes every waiting thread on the condition where as signal wakes the thread that as been waiting the longest or in other words was the first to call wait on that condition - aka first in queue. Regard Arash Partow __________________________________________________ Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net .