finalizers on handles

Simon Marlow marlowsd at gmail.com
Mon Jun 29 07:32:28 EDT 2009


On 24/06/2009 18:30, Brandon S. Allbery KF8NH wrote:
> On Jun 24, 2009, at 05:04 , Simon Marlow wrote:
>> There's one exception: if GHC is forced to use blocking mode on a
>> particular FD, and you're using the non-threaded RTS, then a large
>> write using hPutBuf may block all Haskell threads. There doesn't seem
>> to be much we can do about this, except to use the threaded RTS or
>> lobby the Linux kernel guys for a better API.
>
>
> POSIX async IO API? (Although last I checked many distributions built
> kernels without it.)

Yes, that would solve the problem, if it was available.

Cheers,
	Simon



More information about the Glasgow-haskell-users mailing list