[Twisted-Python] Serial port problem
Matthias Urlichs
smurf at smurf.noris.de
Sat Jan 20 08:18:40 EST 2007
Hello,
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
that.
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