[ECOS] How to handle serial port input?
Jesper Skov
jskov@cambridge.redhat.com
Tue Jun 19 08:35:00 GMT 2001
>>>>> "Tom" == Tom Vandeplas <tom.vandeplas@4g-radio.com> writes:
Tom> If this is correct, how can I know when to read this buffer,
Tom> polling it all the time would be a disaster for performance. Is
Tom> there some way to attach an interrupt to this or even better is
Tom> there a synchrioniation primitive available?
Just launch the thread and let it read from the device. It will sleep
until there is data to be read.
Jesper
More information about the Ecos-discuss
mailing list