From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=DNS_FROM_RFC_ABUSE, SPF_NEUTRAL autolearn=disabled version=3.1.3 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 EA9E9BC74 for ; Tue, 22 Aug 2006 02:42:09 +0200 (CEST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k7M0g9sZ007039 for ; Tue, 22 Aug 2006 02:42:09 +0200 Received: by nf-out-0910.google.com with SMTP id g2so2391200nfe for ; Mon, 21 Aug 2006 17:42:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sB9/S0tQAt8I9QP0nDPYvQ9057QMqOpK+P9YDxC+tkIMVA9RFJn0m1iXNkhjoe0fP1oYx1JvMPWCr47+x8p2JGJjyOW+nk/X3+H7IkLci7SVect8FN3zPLsRsuXKbvzTQj+U6jnUxpJJVecFYzTiBMh2m46Oatdbz5a9FF4ejWE= Received: by 10.48.254.1 with SMTP id b1mr303408nfi; Mon, 21 Aug 2006 17:42:07 -0700 (PDT) Received: by 10.78.194.3 with HTTP; Mon, 21 Aug 2006 17:42:06 -0700 (PDT) Message-ID: Date: Tue, 22 Aug 2006 12:42:07 +1200 From: "Jonathan Roewen" To: "Nathaniel Gray" Subject: Re: [Caml-list] Re: Select on channels (again) Cc: "Caml Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-j-chkmail-Score: MSGID : 44EA52E1.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44EA52E1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; unix:01 unix:01 ocaml:01 descriptors:01 ocaml:01 reimplement:01 buffered:01 cheers:01 beginner's:01 bug:01 beginners:01 wrote:01 wrote:01 caml-list:01 caml-list:01 Why can't you just use the unix file opening functions since you're using unix select? And if you need the ocaml in/out channels, convert the unix file descriptors to ocaml ones instead of the other way around. Seems simple enough to me. On 8/22/06, Nathaniel Gray wrote: > Tap... tap... > > Hello? Is this thing on? > > On 8/14/06, Nathaniel Gray wrote: > > Like others before me, I'm hitting the frustrating limitation that > > it's impossible to select on a channel. This limitation forces one to > > reimplement buffered IO in many situations where using channels would > > otherwise be easy and sensible. There has been discussion on this > > list in the past about this limitation[1], and there have been two > > requests filed in mantis for this feature[2,3], but the ocaml dev team > > has been silent on the matter. Is this feature objectionable to the > > dev team or is it just a case of "too much work, not enough time?" If > > somebody was to submit a quality patch implementing the feature would > > it be accepted? > > > > Cheers, > > -n8 > > > > [1] > > [2] > > [3] > > > > -- > > >>>-- Nathaniel Gray -- Caltech Computer Science ------> > > >>>-- Mojave Project -- http://mojave.cs.caltech.edu --> > > > > > -- > >>>-- Nathaniel Gray -- Caltech Computer Science ------> > >>>-- Mojave Project -- http://mojave.cs.caltech.edu --> > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >