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 VAA01405; Tue, 13 Apr 2004 21:47:40 +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 VAA02309 for ; Tue, 13 Apr 2004 21:47:38 +0200 (MET DST) Received: from mail.davidb.org (adsl-64-172-240-129.dsl.sndg02.pacbell.net [64.172.240.129]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3DJlbYM017009 for ; Tue, 13 Apr 2004 21:47:38 +0200 Received: from davidb by mail.davidb.org with local (Exim 3.36 #1 (Debian)) id 1BDTsJ-0007CC-00; Tue, 13 Apr 2004 12:47:15 -0700 Date: Tue, 13 Apr 2004 12:47:15 -0700 From: David Brown To: Benjamin Geer Cc: John Goerzen , Brian Hurt , caml-list@inria.fr Subject: Re: [Caml-list] Threading: Using and Building Message-ID: <20040413194715.GA27613@davidb.org> References: <20040412151948.GA11370@excelhustler.com> <20040413021536.GA969@complete.org> <407B9A6F.6080409@socialtools.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <407B9A6F.6080409@socialtools.net> User-Agent: Mutt/1.5.4i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 caml-list:01 threading:01 2004:99 python:01 threads:01 threads:01 stub:01 caml:01 blocking:01 dave:03 wrote:03 uses:06 benjamin:07 written:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 281 On Tue, Apr 13, 2004 at 08:44:47AM +0100, Benjamin Geer wrote: > >However, Python uses true > >threads, so it is fine to call blocking system calls in threads (it will > >not block the entire program). > > This is also the case in Caml; see above. It is important for the wrapper stub to be written correctly, though. Dave ------------------- 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