non-blocking I/O on serial port problems

Lloyd Sargent lsargent at txdigital.com
Tue May 26 12:58:38 UTC 2009


> On Monday 25 May 2009 16:53, Michael D wrote:
> > I have a board which has a fax/modem connected to the RS-232 serial port.
> >  I have tried mgetty+fax and efax-0.9.  Both applications want some kind
> > of non-blocking IO on the serial port.
> >
> > If I enable non-blocking io, the serial port does not always return with
> > any data...

From our experience do not depend on serial IO to be blocking or non-blocking. 
We ran across where our app was chewing up a horrendous amount of CPU time 
and it turned out that the programmer assumed it was blocking (when in fact 
it was not).

Not helpful, but again, it is not related to Busybox.

Cheers,

Lloyd


More information about the busybox mailing list