Making termios.tcdrain() work with threads?
Donn Cave
donn at u.washington.edu
Tue Nov 26 14:58:02 EST 2002
Quoth grante at visi.com (Grant Edwards):
| I've noticed that calling termios.tcdrain(fd) (under Unix)
| blocks all threads instead of just the calling thread. This is
| making life a bit diffucult for me, so I'm going to take a
| crack at making it work "right". Before I try, is there any
| particular reason why it should behave the way it does now?
I don't think there could be. I would guess it's that way
because someone underestimated the need for it, at least from
your perspective obviously.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list