[ECOS] FW: [ECOS] FW: [ECOS] ecos-discuss@ecos.sourceware.org

Andrew Lunn andrew@lunn.ch
Fri Jun 27 15:30:00 GMT 2008

> Hi there, yes I know the serial device driver is giving me
> interrupts.. That brings back to my original problem, how is this
> going to help me solve the multithreading problem stuck at scanf()?

Because when you use this interrupt driver serial device driver, your
scanf() will not block busy looping taking 100% of the CPU. It will
just go to sleep until there is an interrupt saying a character has
arrived. So your other threads get to use the CPU.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list