[Haskell-cafe] test socket buffer full

Alberto G. Corona agocorona at gmail.com
Thu Sep 17 14:08:28 UTC 2015


It could be, since this module is general for any kind of buffered IO


2015-09-17 16:04 GMT+02:00 Brandon Allbery <allbery.b at gmail.com>:

> 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
>



-- 
Alberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150917/0f5d2584/attachment.html>


More information about the Haskell-Cafe mailing list