English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 (14:12)
From: Markus E L <ls-ocaml-2006@m...>
Subject: Re: [Caml-list] Closing all open file descriptors

"Mattias Engdegård" wrote:

>>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. 

And this too.

> The only good way is to ask the system.

Absolutely. Full ACK.

Regards -- Markus