Re: [Haskell] Re: state of HaXml?

2007-01-11 Thread Sven Panne
Am Donnerstag, 11. Januar 2007 06:05 schrieb Samuel Bronson:
> Yeah, what I mean is that the garbage collector does not *look* for
> unreachable filehandles to close, or get run when many filehandles
> have been allocated. It only runs finalizers when it happens upon
> things with finalizers, it doesn't have any idea what they are for.

What could actually be done for open(2) and similar OS calls is that in case 
of an EMFILE/ENFILE error condition "enough" GC is triggered that unused file 
handles are closed, and then the open(2) is retried. This does not solve all 
problems mentioned, but is a step into the right direction. Memory should not 
be the only resource GC cares about...

Cheers,
   S.
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] Beautiful concurrency: Santa Claus v2

2007-01-11 Thread Simon Peyton-Jones
Friends

I had lots of useful feedback about my paper "Beautiful concurrency"; thank 
you.  I've revised it quite heavily, and have just put up a revised draft, 
Version 2.

If you want to take a look, either for the first time, or to see what I've done 
in response to your suggestions, look here: 
http://haskell.org/haskellwiki/Talk:SantaClausProblemV2

The code is online there too.

If you give your real name somewhere in your text (or email it to me), I'll add 
you to the acknowledgements at the end of the chapter.  I'm missing some from 
the previous Talk page; notably, I'd like to acknowledge Steven807, Tibbe, 
Fanf, Garious, Rycee, Brecknell, Mvanier, Gaal, Fernando, Gknauth, 
EngineerScotty, BoAdler.  If you'd like a mention, let me know who you are.

Thanks again for your input.  I must do this with all my papers!

Simon

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell