2008/2/28 Robert F. Scheer rfscheer@speakeasy.net:
I forgot to be very clear about this in the last post, there is one main reason why C would have no trouble keeping these loops all serviced.
The reads would block. While waiting for the first byte of a packet to come in for the next cycle, no processing cycles would be consumed. No delays inside loops would be needed.
Doesn't plugins for working with serial port(s) provide you a schemes where you can use semaphores? So , you can block a process until some data available.
- Robert