From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 1CE9DBB81 for ; Sun, 18 Dec 2005 01:53:07 +0100 (CET) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jBI0r6cC004486 for ; Sun, 18 Dec 2005 01:53:06 +0100 Received: by zproxy.gmail.com with SMTP id z31so913224nzd for ; Sat, 17 Dec 2005 16:53:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k63vl9o7YiRHq+PODz2c2ng6gbKYLeJBdyAi4iXyFeXmSfhP45/krx3hBNcbxCA32+r3qC8w2RQG/9oVltd1U0uFBiwyFMIegLUU7dNS7cU/HYymdb1sicQTPCs1jSs9xEDDh2BKtKtL4wN53HuJ0SM1bOkRHbk3yEUhJ1CJJho= Received: by 10.64.143.14 with SMTP id q14mr1080380qbd; Sat, 17 Dec 2005 16:53:05 -0800 (PST) Received: by 10.65.22.12 with HTTP; Sat, 17 Dec 2005 16:53:04 -0800 (PST) Message-ID: Date: Sun, 18 Dec 2005 13:53:04 +1300 From: Jonathan Roewen To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] vmthreads... In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Miltered: at nez-perce with ID 43A4B2F2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 threading:01 thread:02 thread:02 mutex:03 wrong:08 gmail:09 question:11 neither:11 sets:12 sets:12 however:12 set:12 set:12 but:12 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 > Hi, > > Just a simple question: how does Thread.critical_section ever get set > to false? I see mutex.ml sets it to true, as does condition.ml, but > neither set to false. Ah, I see Thread.sleep sets it back to false.... however, I still have the feeling something is going wrong in the threading system... Jonathan