On 2016-05-27, Michael W. Ellis <mel...@pesa.com> wrote: > Is there a way to do a timed wait for cyg_io_read?
FAIK, there never used to be any "built-in" way to do that. I ended up adding timeout settings to my io drivers. > 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. I think there used to be a way to explicity wakeup a thread that was blocked on something, but I don't remember the details... -- Grant -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss