public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Methods for "signalling" other threads?
@ 2005-10-25 15:56 Mark Nowhere
  2005-10-25 17:20 ` Ronny Pfannschmidt
  2005-10-25 23:58 ` Arash Partow
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Nowhere @ 2005-10-25 15:56 UTC (permalink / raw)
  To: pthreads-win32

Hi,
    Just a quick question. I have a serial
reader/writer thread and an network reader/writer
thread. Basically I want the serial thread to, once
new data has come in from the COMM port signal the
network thread in some way to get it to pick up the
data and send it over the network. Just not sure what
I should use to get this effect?

Options I can see are:

Semaphores
or 
pthread_cond_signal/pthread_cond_wait stuff
or 
something else :)

Many thanks for any advice

Mark


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

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

end of thread, other threads:[~2005-10-25 23:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-25 15:56 Methods for "signalling" other threads? Mark Nowhere
2005-10-25 17:20 ` Ronny Pfannschmidt
2005-10-25 23:58 ` Arash Partow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).