Matt, have you seen this thread?

Jeremy, are you saying this a bug in the sendfile library on hackage,
or something underlying?

thomas.

2010/2/9 Jeremy Shaw <jer...@n-heptane.com>:
> On Sun, Feb 7, 2010 at 9:22 AM, Bardur Arantsson <s...@scientician.net>
> wrote:
>>
>> True, it is perhaps technically not a bug, but it is certainly a
>> misfeature since there is no easy way (at least AFAICT) to discover that
>> something bad has happened for the file descriptor and act accordingly.
>> AFAICT any solution would have to be based on a separate thread which either
>> 1) "checks" the FD periodically somehow, or 2) simply lets the thread doing
>> the threadWaitWrite time out after a set period of inactivity. Neither is
>> very optimal.
>>
>> Either way, I'd certainly expect the sendfile library to work around this
>> somehow such that this situation doesn't occur. I'm just having a hard time
>> thinking up a good solution :).
>
> Well, it is certainly a bug in sendfile that needs to be fixed. I'm not sure
> how to fix it either. If we can simplify the test case, we can ask Simon
> Marlow..
> - jeremy
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to