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:
Subject: Re: [Caml-list] Waiting for float time
   Date: Thu, 28 Jun 2007 13:15:31 +0200
   From: "Matthieu Dubuget" <matthieu.dubuget@gmail.com>

Hi,
   2007/6/28, Karl Zilles <zilles@1969web.com>:
   > sayan@crans.org wrote:
   > > I am looking for a floating point version of the function
   > > Unix.sleep in order to suspend execution of a program for 0.7s
   > Use select with no file_descrs.
   Nice!  Where are this kind of tricks supposed to be collected?
   FAQ, http://www.ocaml-tutorial.org/, ...?
Any book / doc on Unix systems programming ?  This use of select is
standard, unix.cma is only a thin layer over libc and/or the syscalls
(at least from a non-language specific POV).  This is why the (Ocaml)
unix library's documentation starts this way:
   Chapter 21  The unix library: Unix system calls

   The unix library makes many Unix system calls and system-related
   library functions available to Objective Caml programs. This
   chapter describes briefly the functions provided.  Refer to
   sections 2 and 3 of the Unix manual for more details on the
   behavior of these functions.

Bruno.