[Twisted-Python] Serial port problem
20 Jan
2007
20 Jan
'07
1:18 p.m.
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@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
6551
Age (days ago)
6551
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthias Urlichs