Messages in this thread | | | Subject | RE: pthread condition variables question | Date | Tue, 11 Nov 2003 20:26:53 -0800 | From | "Perez-Gonzalez, Inaky" <> |
| |
> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |