[Twisted-Python] Serial port problem

Matthias Urlichs smurf at smurf.noris.de
Sat Jan 20 06:18:40 MST 2007


I'm writing to a serial port. That may of course stall. But what if a
delayed write results in an error? I didn't see any obvious way to catch

As an aside, the error whioch prompts me to write this message was EINTR,
caused by a child process dying at the right moment. Shouldn't that be
retried, like EAGAIN? And shouldn't serial ports be set to be non-blocking?

(Linux, Twisted 2.4)

Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf at smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Saints should always be judged guilty until they are proven innocent.
- George Orwell

More information about the Twisted-Python mailing list