Subj : Re: Linking without -lpthread doesn't fail?? To : comp.programming.threads From : Igmar Palsenberg Date : Thu Oct 06 2005 06:25 pm dmarkh@cfl.rr.com wrote: > 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. Isn't select() with an empty set an option ? It's also a lot more standard and less subject to system-specific issues. Igmar .