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
Closing all open file descriptors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-15 (12:15)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Closing all open file descriptors
Zitat von Mattias EngdegÄ   rd <>:

> >If you have all your open descriptors in a list,
> >you can close them after a fork.
> That approach does not compose well --- descriptors opened by
> a library will be excluded.

Oh, I have not seen this last sentence.

Well, wouldn't the library offer possibilities
to close those files?

Can you give an example on where you see problems?