Version française
Home     About     Download     Resources     Contact us    
Browse thread
select (or polling) on in_channel?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alex Baretta <alex@b...>
Subject: Re: [Caml-list] select (or polling) on in_channel?
Eijiro Sumii wrote:
> From: "Alex Baretta" <alex@barettadeit.com>

> I rather want to avoid multi-threading if select could be easy enough,
> because the former is often too tricky due to the possibility of
> deadlocks and races.
> 
> 	Eijiro

Static determination of potential deadlocks in a message passing 
environment like that implemented in Event amounts to proving that a 
graph is cyclic.

Selecting amounts to manual threading: it gives you more control, but 
not necessarily any more safety.

Alex

-- 
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL

tel. +39 02 370 111 55
fax. +39 02 370 111 54

Our technology:

The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>

The FreerP Project
<http://www.freerp.org/>