
17 Sep
2015
17 Sep
'15
10:08 a.m.
It could be, since this module is general for any kind of buffered IO
2015-09-17 16:04 GMT+02:00 Brandon Allbery
On Thu, Sep 17, 2015 at 10:01 AM, Alberto G. Corona
wrote: since the flush uses flushWriteBuffer https://hackage.haskell.org/package/base-4.8.1.0/docs/src/GHC.IO.BufferedIO....
, that blocks, hPutBuffNonBlocking does the same than hPutBuff and the buffer congestion can not be detected.
Hm. I wonder if this is the DynamicLog bug we've been fighting with in xmonad, too. (pipe full -> xmonad locks up, blocked on pipe write)
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Alberto.