timed wait for cyg_io_read
"Michael W. Ellis" <[email protected]> Fri, 27 May 2016 16:00:47 -0500
| Newsgroups | gmane.os.ecos.general |
|---|---|
| Message-ID | <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C5069C@exchange> |
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