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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id ABF49BC37 for ; Thu, 2 Jul 2009 11:49:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApkBAOIfTErRVdzemGdsb2JhbACYTj8BAQEBAQgJDAcTpFKQXgEDAgSEDQWHVQ X-IronPort-AV: E=Sophos;i="4.42,332,1243807200"; d="scan'208";a="29139477" Received: from mail-fx0-f222.google.com ([209.85.220.222]) by mail2-smtp-roc.national.inria.fr with ESMTP; 02 Jul 2009 11:49:34 +0200 Received: by fxm22 with SMTP id 22so1566051fxm.9 for ; Thu, 02 Jul 2009 02:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=gcTmnG6or55C6cfPXUMZe2lB4o/9gHmYyOsjn1Nzkk4=; b=OT7OROL8qQr/VlW8MRxIxCUCmoWfS4Jsl6ZtwIBFqnrWWzYEWtgqRi6Zrn5HIUU2O4 Ht5BIjZrBVbSRq3F2uagRVOvBOAfvcLQI4MBEisuL4ji7jKPzBcsHFJL941T4XJPloYl 0d+BtCDcUFBYRUfiGjPro6hWEzAO6bnAUyWZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VVSCh+f3kAMfC3d+ft69D7aOffOzri6+92VEXCucju+3zDjOn0EeNKj96Bus84F2i9 AlFMskbiaOOFYPFxhkmPVp/VsK54deHKl8ETsmb0BHaLhagaTCU6G3D4zFDMTSj9jwrV SDvzK6GKwDBXPuk4rR/41ztuYUOlbRX/gkJYU= MIME-Version: 1.0 Sender: david.mentre@gmail.com Received: by 10.239.164.6 with SMTP id r6mr837326hbd.104.1246528173160; Thu, 02 Jul 2009 02:49:33 -0700 (PDT) In-Reply-To: <4A4C75D2.9060503@gmail.com> References: <4A4C6B5F.5060305@metalscan.fr> <4A4C75D2.9060503@gmail.com> Date: Thu, 2 Jul 2009 11:49:33 +0200 X-Google-Sender-Auth: 07788df29c4bc5d0 Message-ID: <3d13dcfc0907020249w355b8bf1o1f53b7c324fd0423@mail.gmail.com> Subject: Re: [Caml-list] file mapped bigarray and Unix.unlink From: David MENTRE To: matthieu.dubuget@gmail.com Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; bigarray:01 matthieu:01 dubuget:01 matthieu:01 dubuget:01 recursive:01 2009:98 unix:01 caml-list:01 seems:03 mathieu:04 thread:06 wrong:10 file:11 file:11 Hello Mathieu, 2009/7/2 Matthieu Dubuget : > The strategy I adopted is to spawn a recursive thread that > periodically try to erase the file until success. That seems the wrong solution to me. The unlink syscall should work immediately or you have another reason why it only works after a certain time. Yours, david