RE: pthread condition variables question

From: Perez-Gonzalez, Inaky
Date: Tue Nov 11 2003 - 23:27:46 EST


> From: sankar

> How is pthread condition variables implemented on linux. Specifically I want
> to know how pthread_cond_signal() wakes the waiting thread. Does it send any
> specific signal to the waiting thread or is there any other means??

Using futexes (wait queues); http://people.redhat.com/drepper/futex.pdf.

Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own (and my fault)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/