ANNOUNCE - graphics package

Bengt Kleberg Bengt.Kleberg@REDACTED
Wed Jan 21 13:19:53 CET 2004

Joachim Durchholz wrote:
> It's generally accepted that resource deallocation shouldn't be tied to 
> automatic garbage collection. Peter-Henry Mander already nicely summed 
> that up for X windows, but it's a more general principle: if any 
> resource has constraints on when it should be released, releasing it 
> during garbage collection is usually a bad idea (except as a stopgab 
> measure). This applies not just to windows but also to file handles (on 

interestingly enough there is no sys->close() function for file handles 
in inferno programming with limbo. the manual says ''There is no 
explicit ``close'' routine: when the last reference to the file 
descriptor is released, the system closes the associated file.''


More information about the erlang-questions mailing list