public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] timed wait for cyg_io_read
@ 2016-05-27 20:59 Michael W. Ellis
  2016-05-29 17:20 ` [ECOS] " Grant Edwards
  2016-05-31  9:19 ` [ECOS] " Nick Garnett
  0 siblings, 2 replies; 3+ messages in thread
From: Michael W. Ellis @ 2016-05-27 20:59 UTC (permalink / raw)
  To: ecos-discuss

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

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

end of thread, other threads:[~2016-05-31  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 20:59 [ECOS] timed wait for cyg_io_read Michael W. Ellis
2016-05-29 17:20 ` [ECOS] " Grant Edwards
2016-05-31  9:19 ` [ECOS] " Nick Garnett

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