From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA17466; Tue, 11 May 2004 20:05:28 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA16737 for ; Tue, 11 May 2004 20:05:27 +0200 (MET DST) Received: from sfoadmin02.irisfinancial.com (mail.irisfinancial.com [63.94.91.3]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i4BI5PSH025942 for ; Tue, 11 May 2004 20:05:26 +0200 Received: from [127.0.0.1] (kauket.irisfinancial.com [200.0.1.206]) by sfoadmin02.irisfinancial.com (8.12.9/8.11.3/iris-20020401) with ESMTP id i4BI5LiX011037 for ; Tue, 11 May 2004 11:05:22 -0700 (PDT) Message-ID: <40A115E3.1060400@frotz.com> Date: Tue, 11 May 2004 11:05:23 -0700 From: Ranjan Bagchi User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] Best way to synchronize OS processes? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-Miltered: at concorde with ID 40A115E5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; serialize:01 synchronize:01 unix:02 module:03 executing:04 mutex:06 i'd:06 i'm:07 doesn't:12 writing:13 writing:13 offer:86 code:15 there:16 concurrently:16 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi -- I'm writing some code which will end up executing concurrently on several OS processes. I'd like to serialize access to some specific OS resources (for instance, writing to a single file). The Unix module doesn't appear to offer anything like a critical section or an OS mutex. Is there a preferred way to do this? Thanks, Ranjan ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners