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 MAA04534; Mon, 24 Mar 2003 12:13:55 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA04182 for ; Mon, 24 Mar 2003 12:13:54 +0100 (MET) Received: from athlon.baretta.com ([213.255.109.130]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h2OBDrX22312 for ; Mon, 24 Mar 2003 12:13:53 +0100 (MET) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id 6B04A273BB for ; Mon, 24 Mar 2003 12:19:11 +0100 (CET) Message-ID: <3E7EE9AF.2040806@baretta.com> Date: Mon, 24 Mar 2003 12:19:11 +0100 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: it, en MIME-Version: 1.0 To: Ocaml Subject: Re: [Caml-list] Question on Mutexes References: <3E772105.2000307@baretta.com> <20030320161331.B23584@pauillac.inria.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; alessandro:01 baretta:01 caml-list:01 mutexes:01 posix:01 unlocking:01 ocaml:01 alex:01 thread:02 wrote:03 library:03 behavior:03 undefined:04 wrapper:08 U5:88 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Xavier Leroy wrote: > The system-level implementation of the thread library is a thin > wrapper around POSIX or Win32 mutexes. The POSIX spec says that the > behavior of unlocking by another thread than the one that locked is > undefined: some implementations can signal an error, others can "do > the right thing", others can crash. Of course, Ocaml does the "right thing", doesn't it? ;) Alex ------------------- 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