Subj : Re: Condition variables & mutexes To : comp.programming.threads From : David Schwartz Date : Wed Jan 26 2005 11:22 am "Ian Pilcher" wrote in message news:7IGdnTo3Dod7M2rcRVn-sw@comcast.com... > static volatile int thread_is_ready = 0; What's the 'volatile' for? You don't meet any of the conditions where 'volatile' is needed. DS .