Subj : Re: Linking without -lpthread doesn't fail?? To : comp.programming.threads From : David Schwartz Date : Thu Oct 06 2005 01:17 pm wrote in message news:1128586872.311069.186080@o13g2000cwo.googlegroups.com... > I'm calling pthread_cond_timedwait not pthread_cond_wait . I'm waiting > for ETIMEDOUT. We us this instead of the other delay calls because it > a better job of relinguishing the CPU while sleeping. The others do not > at all. At least not in programs running RT SCHED_FIFO. It is probably > the only pthread* call we use outside of a so called threaded app. Frankly, I'm surprised it indicated the successful creation of a mutex and condition variable. I agree, it should not allow you to create a mutex and condition variable and then not time out. DS .