This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

timed wait for cyg_io_read


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]