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 52B3FBC37 for ; Thu, 2 Jul 2009 12:15:50 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApkBAL8lTErRVdvQmGdsb2JhbACYTj8BAQEBAQgJDAcTo0sKgRCQYAEDAgSEDQWHBQ X-IronPort-AV: E=Sophos;i="4.42,332,1243807200"; d="scan'208";a="29141257" Received: from mail-ew0-f208.google.com ([209.85.219.208]) by mail2-smtp-roc.national.inria.fr with ESMTP; 02 Jul 2009 12:15:49 +0200 Received: by ewy4 with SMTP id 4so179127ewy.9 for ; Thu, 02 Jul 2009 03:15:49 -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=tm9k2LuU74kvJ1OWzvOE8g0+dtCWxk/LVtktQnL05kY=; b=Q7G8ad/XsDDlN23lvK+dTF/EsHF6sVyPOEblJrwonJJNyJOJsMwW+2kuXpf149J6ke hFsJHDoD7RxBVZPNcqYistG+TsAiPxcna9iix7Ukt/S2tPrNZYP8xeBXHkzVuYwWtG0v 52ITfopVI8RSKToeT9NlxNVvP7ci5LZu9pOlQ= 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=WiGG5oTEm8v0uhnisn+mzBJKkqomLfiQwWNvvT3vdfsxVKCA81fmrxajTFREkhX2+R OS1P5Ev28KLWDtanMYCIcCN48WYrEOI1pwreKb96oFNrCiHoLSg5I8IGukEiZVNVST36 eBeaTgtKViWB+IT2eXxflkpzyrTXAqY+WuPyE= Received: by 10.216.47.213 with SMTP id t63mr3019415web.134.1246529749853; Thu, 02 Jul 2009 03:15:49 -0700 (PDT) Received: from ?192.168.0.102? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id u14sm5331680gvf.20.2009.07.02.03.15.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 03:15:49 -0700 (PDT) Message-ID: <4A4C88D4.7040200@gmail.com> Date: Thu, 02 Jul 2009 12:15:48 +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> <4A4C75D2.9060503@gmail.com> <3d13dcfc0907020249w355b8bf1o1f53b7c324fd0423@mail.gmail.com> In-Reply-To: <3d13dcfc0907020249w355b8bf1o1f53b7c324fd0423@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 bigarray:01 bigarray:01 recursive:01 2009:98 2009:98 unix:01 unix:01 caml-list:01 caml-list:01 seems:03 mathieu:04 | Sujet : « Re: [Caml-list] file mapped bigarray and Unix.unlink » | Pour : « matthieu.dubuget@gmail.com » | De : « David MENTRE » | Le Thu Jul 02 2009 11:49:33 GMT+0200 (CEST) > 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 > I agree… but: - I'm already late (I know, that's a bad reason) - I don't know what could be the reason(s) for this delay Thanks Matt