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=2.3 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 39AC4BC37 for ; Thu, 2 Jul 2009 10:54:47 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag0CAIcSTEpKfU6Qjmdsb2JhbACSB4ZHPwEBAQEJCwgJEQWjVgqBEJBTAQMCBIQNBYcF X-IronPort-AV: E=Sophos;i="4.42,331,1243807200"; d="scan'208";a="32342897" Received: from ey-out-1920.google.com ([74.125.78.144]) by mail1-smtp-roc.national.inria.fr with ESMTP; 02 Jul 2009 10:54:46 +0200 Received: by ey-out-1920.google.com with SMTP id 5so468004eyb.22 for ; Thu, 02 Jul 2009 01:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=NZXCXWrJc8/NRFqfQDWmiNwv4JbERBpoJ0F8vwSjV1s=; b=pcJq8NOMPTG+/xFWn6y06EsbCA2HJIlnmMiJoIvWq5ovVBSCnjTqVIrf9EECsb5rSA Fk4Luwu72Wd57zxwPFyp5Jasq0kK/9d6x0Z41I5N9Htc5PNiPE34lFFX32i+UseqEDlo qRumMqV07UmQhatqb/ikmd38p6+Ix3SyeF8t0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=EeOsqApyc8NTggShDFMe7Wfv+lCUeh8d0LAS1UtVCAYaeo4BpKBtT9B/tOtNvIQBW6 qlOQDR5rPMREQP5YkBI5kv5woqskAH6wxDdYuKB5OcRS+2gKR0CsgKKoyadk+7gvaYT+ xQtzQqPMfJI2SS04YO4yc/QAo4rto6IakkGSA= Received: by 10.216.30.81 with SMTP id j59mr3074440wea.50.1246524885142; Thu, 02 Jul 2009 01:54:45 -0700 (PDT) Received: from ?192.168.0.102? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id t12sm5165272gvd.14.2009.07.02.01.54.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 01:54:44 -0700 (PDT) Message-ID: <4A4C75D2.9060503@gmail.com> Date: Thu, 02 Jul 2009 10:54:42 +0200 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] file mapped bigarray and Unix.unlink References: <4A4C6B5F.5060305@metalscan.fr> In-Reply-To: <4A4C6B5F.5060305@metalscan.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 bigarray:01 recursive:01 unix:01 caml-list:01 descriptor:02 solved:04 thread:06 file:11 file:11 systems:12 spawn:13 Solved! Sorry for the noise. The operating systems takes time to free the file descriptor. The strategy I adopted is to spawn a recursive thread that periodically try to erase the file until success. Salutations