Subj : Re: Real cause of spurious wakeups To : comp.programming.threads From : Alexander Terekhov Date : Fri Apr 01 2005 12:08 am David Hopwood wrote: [... cond_wait: mutex::release_guard guard(mutex); sleep(random()) ...] > This is a very inefficient implementation that would not be used in practice, > so it doesn't answer the OP's question. You seem to have missed "see also" section. regards, alexander. .