Version française
Home     About     Download     Resources     Contact us    
Browse thread
Thread and Unix select
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kip Macy <kip.macy@g...>
Subject: Re: [Caml-list] Thread and Unix select
Without looking at the implementation, I would guess that a
Unix.select with a non-zero timeout would cause the whole process to
block - whereas an equivalent call to Thread.select would only cause
the calling thread to block.
              -Kip


On Thu, 24 Mar 2005 15:37:10 +0100, Alex Baretta <alex@barettadeit.com> wrote:
> What are the differences between Unix.select and Thread.select? Is it
> safe to use the former in a multithreaded program?
> 
> 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/>
> 
> _______________________________________________
> 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
>