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: Vincent Hanquez <vincent@s...>
Subject: Re: [Caml-list] Waiting for float time
On Thu, Jun 28, 2007 at 12:15:12PM +0200, sayan@crans.org wrote:
> Thanks for the suggestion, I would never have thought of polling for 
> this. :)
> 
> What about wrapping usleep or nanosleep ? These are probably not 
> portable, but are there obvious reasons not include them in the Unix 
> library ?

you have answered the question yourself;
the Unix module is unfortunately a lowest common part of what is
available on lots of unices, and also without "unsafe" stuffs (mmap).
That's why you have to do binding all the times when having specific
low level requirements.

-- 
Vincent Hanquez