Subj : Re: Linking without -lpthread doesn't fail?? To : comp.programming.threads From : Paul Pluzhnikov Date : Wed Oct 05 2005 06:20 pm dmarkh@cfl.rr.com writes: > I'm using Linux and NPTL. I understand what you are saying but I don't > understand the purpose of such. I make a call to pthread_cond_timedwait Presumably you called pthread_create() *before* calling pthread_cond_wait() [otherwise there is nobody to signal you]. When you did call phtread_create(), it *failed* (because you didn't link the real pthread_create implementation). When that happened, you checked the error code and exited, right? Therefore, you can't be calling pthread_cond_wait() :) Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. .