mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* pthread condition variables question
@ 2003-11-10 19:07 sankar
  0 siblings, 0 replies; 2+ messages in thread
From: sankar @ 2003-11-10 19:07 UTC (permalink / raw)
  To: linux-kernel

Hi,
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??

Thx in advance.

Sankarshana M

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: pthread condition variables question
@ 2003-11-12  4:26 Perez-Gonzalez, Inaky
  0 siblings, 0 replies; 2+ messages in thread
From: Perez-Gonzalez, Inaky @ 2003-11-12  4:26 UTC (permalink / raw)
  To: sankar, linux-kernel

> 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-12  4:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-10 19:07 pthread condition variables question sankar
2003-11-12  4:26 Perez-Gonzalez, Inaky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®