From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6E45DBC69 for ; Sat, 15 Sep 2007 14:15:28 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMJp60bAbSoIh2dsb2JhbACOEgEBAQgKJw X-IronPort-AV: E=Sophos;i="4.20,258,1186351200"; d="scan'208";a="1233486" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 15 Sep 2007 14:16:09 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8FCFkbN010508 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 15 Sep 2007 14:15:46 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMJp60bAbSoIh2dsb2JhbACOEgEBAQgKJw X-IronPort-AV: E=Sophos;i="4.20,258,1186351200"; d="scan'208";a="1233485" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail2-smtp-roc.national.inria.fr with ESMTP; 15 Sep 2007 14:16:08 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from einhorn.in-berlin.de (localhost [127.0.0.1]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id l8FCG6EL002204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 15 Sep 2007 14:16:07 +0200 Received: (from www-data@localhost) by einhorn.in-berlin.de (8.13.6/8.13.6/Submit) id l8FCG564002194 for caml-list@inria.fr; Sat, 15 Sep 2007 14:16:05 +0200 X-Authentication-Warning: einhorn.in-berlin.de: www-data set sender to oliver@first.in-berlin.de using -f Received: from dslb-088-073-095-014.pools.arcor-ip.net (dslb-088-073-095-014.pools.arcor-ip.net [88.73.95.14]) by webmail.in-berlin.de (IMP) with HTTP for ; Sat, 15 Sep 2007 14:16:05 +0200 Message-ID: <1189858565.46ebcd05317b8@webmail.in-berlin.de> Date: Sat, 15 Sep 2007 14:16:05 +0200 From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Closing all open file descriptors References: <006b01c7f699$275fd6d0$017ca8c0@countertenor> <200709141000.l8EA04x12648@virtutech.se> <1189806728.46eb0288d38b8@webmail.in-berlin.de> <1189847741.46eba2bd9d121@webmail.in-berlin.de> <20070915192631.2384ae5a.mle+ocaml@mega-nerd.com> <1189852990.46ebb73e7edc3@webmail.in-berlin.de> <200709151136.l8FBaH813458@virtutech.se> In-Reply-To: <200709151136.l8FBaH813458@virtutech.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at discorde with ID 46EBCCF2.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bandel:01 in-berlin:01 descriptors:01 mattias:01 mattias:01 descriptors:01 oliver:01 oliver:01 caml-list:01 library:03 library:03 sentence:04 fork:05 approach:08 compose:08 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? Ciao, Oliver