Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] GC and file descriptors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-14 (13:42)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] GC and file descriptors
> 	Garbage collecting the subprocesses and file descriptors would make 
> this a bit more straightforward.

The problem with this approach is that the "close" and "wait"
system calls have side effects.  I don't like the idea of a GC
that has side effects other than the memory size of the program
(and finalisation functions, of course).

-- Damien

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: