From: Mark Nowhere <markwod@yahoo.co.uk>
To: pthreads-win32@sources.redhat.com
Subject: Methods for "signalling" other threads?
Date: Tue, 25 Oct 2005 15:56:00 -0000 [thread overview]
Message-ID: <20051025155621.14418.qmail@web53101.mail.yahoo.com> (raw)
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
next reply other threads:[~2005-10-25 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-25 15:56 Mark Nowhere [this message]
2005-10-25 17:20 ` Ronny Pfannschmidt
2005-10-25 23:58 ` Arash Partow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051025155621.14418.qmail@web53101.mail.yahoo.com \
--to=markwod@yahoo.co.uk \
--cc=pthreads-win32@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).