Subj : Re: Question : usage of conditional variables. To : comp.programming.threads From : Markus Elfring Date : Fri Jun 10 2005 09:03 pm > My program runs well for a while without predicate(not using a loop), > but it stops and wait a signal forever at some point.. After adding a > predicate and checking it before calling pthread_cond_wait(), it runs > well. But I can't understand why sometimes it works well without > predicate and sometimes not.. What does the spurious wakeups really > mean? Did you read any discussions with the following subjects, for example? - spurious wakeup http://groups.google.de/groups?threadm=40ed1d8f.0411191313.4dff837c@posting.google.com - Real cause of spurious wakeups http://groups.google.de/group/comp.programming.threads/browse_frm/thread/87abe02ffe91004d/9704618a0d9ce43d Regards, Markus .