Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: Re: [Caml-list] 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: olsongt@v...
Subject: Re: Re: [Caml-list] Waiting for float time

>>  Sorry if I'm not a unix guru, but the fact is that I did not find the
>>  Unix.select solution.
> My point was: it's not an OCaml-related issue (which obviously is not
> the answer you expect).

But it is an OCaml related issue.  Pretty-much any language out there
will let you do a sub-second sleep.  The 'select' technique is a hack
(or work-around, I'll be polite).  I imagine anyone who knew the
answer knew it via folklore, that is someone else told them about it,
they didn't all figure it out on their own via intuitive reasoning.  That's how I found out about it.

Maybe a "Tricks & Tips" section on ocaml-tutorial would be useful.