This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
timed wait for cyg_io_read
- From: "Michael W. Ellis" <mellis at pesa dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 27 May 2016 16:00:47 -0500
- Subject: timed wait for cyg_io_read
- Authentication-results: sourceware.org; auth=none
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