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 38B87BC48 for ; Mon, 4 Apr 2005 22:24:21 +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 j34KOKFt022643 for ; Mon, 4 Apr 2005 22:24:20 +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 WAA07056 for ; Mon, 4 Apr 2005 22:24:20 +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 j34KOFg2021785 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 4 Apr 2005 22:24:19 +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 j34KOECP003843; Mon, 4 Apr 2005 16:24:14 -0400 (EDT) Date: Mon, 04 Apr 2005 16:24:14 -0400 (EDT) Message-Id: <20050404.162414.18571932.eijiro_sumii@anet.ne.jp> To: caml-list@inria.fr Cc: sumii@saul.cis.upenn.edu Subject: Re: [Caml-list] select (or polling) on in_channel? From: Eijiro Sumii In-Reply-To: References: <20050331.182855.07449233.eijiro_sumii@anet.ne.jp> 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 4251A274.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4251A270.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 pervasives:01 low-level:01 high-level:01 upenn:01 ...:98 unix:01 bin:01 caml-bugs:02 external:02 anet: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: Thanks to everyone for ideas on how to "select" Pervasives.in_channel. Since there seems to be no better solution than (1) hacking the low-level structure by using external C, or (2) reinventing the high-level library on top of Unix I/O, I'm thinking of submitting a feature wish at http://pauillac.inria.fr/bin/caml-bugs. It should be easy enough for the developers to implement, I hope... (I could contribute my own implementation if necessary, but I'm sure they will do better work.) -- Eijiro Sumii (http://www.cis.upenn.edu/~sumii/) Department of Computer and Information Science, University of Pennsylvania