[En-Nut-Discussion] Problem: read uart port

Nathan Moore nategoose at gmail.com
Thu Mar 19 23:26:28 CET 2009


Read will block if there is no data to be read.  Blocking is NutEventWait on
an event that is triggered by data arriving at the uart.If the baud is
extremely high and data is steadily coming in you could end up eating all
time between the processing of read and rescheduling with this thread
getting run again immediately.  This isn't likely.
Nut doesn't have anything like select or epoll that I know of.


Nathan



More information about the En-Nut-Discussion mailing list