It's actually faster the simple way: no need for threads, just
commitc1e299c07214eb2cbf5512137b582f79a8dc8b43
authorGuillaume Chazarain <guichaz@gmail.com>
Mon, 12 May 2008 21:47:13 +0000 (12 23:47 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Mon, 12 May 2008 21:47:13 +0000 (12 23:47 +0200)
tree837bcf919eb798eff05e462b0684b216a36c8c70
parent5bf0749e20882e0b8e81465c4d5b25533431f106
It's actually faster the simple way: no need for threads, just
let the kernel do the buffering.
We directly use file descriptors but close them through their
file instance to avoid confusing python.
gsh/pity.py