From: "Michael W. Ellis" <mellis@pesa.com>
To: <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] timed wait for cyg_io_read
Date: Fri, 27 May 2016 20:59:00 -0000 [thread overview]
Message-ID: <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C5069C@exchange> (raw)
Is there a way to do a timed wait for cyg_io_read? I have a thread that
is blocking on cyg_io_read and I wish to signal the thread to exit in an
orderly manner (using an event flag). I know that I can make
cyg_io_read non-blocking and poll cyg_io_read and cyg_flag_poll but this
would burn a lot of cycles doing nothing.
Michael
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2016-05-27 20:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 20:59 Michael W. Ellis [this message]
2016-05-29 17:20 ` [ECOS] " Grant Edwards
2016-05-31 9:19 ` [ECOS] " Nick Garnett
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=07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C5069C@exchange \
--to=mellis@pesa.com \
--cc=ecos-discuss@ecos.sourceware.org \
/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).