Version française
Home     About     Download     Resources     Contact us    
Browse thread
Waiting for float time
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron Minsky <yminsky@c...>
Subject: Re: [Caml-list] Waiting for float time
On 6/27/07, Robert Roessler <roessler@rftp.com> wrote:
>
> sayan@crans.org wrote:
>
> I believe the OCaml idiom for this is to use Unix.select with empty
> lists for all THREE of the descriptor lists... and this does work on
> Windows.


Note, on Unix  at least, you need to wrap the call to select in an exception
handler, since select can be interrupted, at which point the call throws an
exception.

y