English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2006-08-24 (19:06)
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.


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