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: Nathaniel Gray <n8gray@g...>
Subject: Re: [Caml-list] Re: Select on channels (again)
On 8/23/06, skaller <skaller@users.sourceforge.net> wrote:
>
> IF you had some known semantics such as that
> messages were of bounded length and transmitted
> in bounded time .. select would be useful, since
> blocking operations would block only for bounded time,
> in which case they're not blocking at all.

That's exactly what I'm talking about.  There are plenty of cases
where such assumptions are justified, including IPC on a single
machine or communication on a small trusted network.  Select on
channels is no more or less useful than regular select, other than the
fact that it makes it possible to use OCaml functions that only
operate on channels.

Cheers,
-n8

-- 
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->