Version française
Home     About     Download     Resources     Contact us    
Browse thread
Select on channels (again)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] Re: Select on channels (again)
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 <n8gray@gmail.com> wrote:
> Tap... tap...
>
> Hello?  Is this thing on?
>
> On 8/14/06, Nathaniel Gray <n8gray@gmail.com> 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] <http://caml.inria.fr/pub/ml-archives/caml-list/2005/03/8aae2e3c54cfb976fe52664ab1c84994.en.html>
> > [2] <http://caml.inria.fr/mantis/view.php?id=3075>
> > [3] <http://caml.inria.fr/mantis/view.php?id=3579>
> >
> > --
> > >>>-- 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
>