[Haskell-cafe] test socket buffer full

Brandon Allbery allbery.b at gmail.com
Thu Sep 17 14:04:58 UTC 2015


On Thu, Sep 17, 2015 at 10:01 AM, Alberto G. Corona <agocorona at gmail.com>
wrote:

> since the flush uses flushWriteBuffer
> <https://hackage.haskell.org/package/base-4.8.1.0/docs/src/GHC.IO.BufferedIO.html#flushWriteBuffer>
>
> , 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 at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150917/89e9d16a/attachment.html>


More information about the Haskell-Cafe mailing list