From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 4B3E1BC48 for ; Tue, 5 Apr 2005 20:07:49 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j35I7m6v003388 for ; Tue, 5 Apr 2005 20:07:48 +0200 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 UAA06545 for ; Tue, 5 Apr 2005 20:07:47 +0200 (MET DST) Received: from saul.cis.upenn.edu (SAUL.CIS.upenn.edu [158.130.12.4]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j35I7jB7009682 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 5 Apr 2005 20:07:47 +0200 Received: from localhost (SAUL.CIS.upenn.edu [158.130.12.4]) by saul.cis.upenn.edu (8.12.10/8.12.9) with ESMTP id j35I7gCP028412; Tue, 5 Apr 2005 14:07:42 -0400 (EDT) Date: Tue, 05 Apr 2005 14:07:42 -0400 (EDT) Message-Id: <20050405.140742.21935623.eijiro_sumii@anet.ne.jp> To: caml-list@inria.fr Cc: alex@barettadeit.com, sumii@saul.cis.upenn.edu Subject: Re: [Caml-list] select (or polling) on in_channel? From: Eijiro Sumii In-Reply-To: <42529D62.7050505@barettadeit.com> References: <425226CF.80708@barettadeit.com> <20050405.093439.68549116.eijiro_sumii@anet.ne.jp> <42529D62.7050505@barettadeit.com> X-Mailer: Mew version 3.2 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4252D3F4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4252D3F1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 eijiro:01 sumii:01 eijiro:01 sumii:01 baretta:01 upenn:01 threading:01 upenn:01 ...:98 graph:01 cyclic:01 passing:01 calculus:02 calculus:02 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: From: "Alex Baretta" > Static determination of potential deadlocks in a message passing > environment like that implemented in Event amounts to proving that a > graph is cyclic. Er, I believe I know it very well...:-) You might want to read our papers - An Implicitly-Typed Deadlock-Free Process Calculus (CONCUR 2000) and - A Generalized Deadlock-Free Process Calculus (HLCL 98) linked from: http://www.cis.upenn.edu/~sumii/pub/ > Selecting amounts to manual threading: it gives you more control, but > not necessarily any more safety. I'm afraid I disagree here: select _can_ be used for multi-threading, but can also be used for things that are much easier than multi-threading (which is my case as explained before). Regards, -- Eijiro Sumii (http://www.cis.upenn.edu/~sumii/) Department of Computer and Information Science, University of Pennsylvania