From: Bruno Verlyck <Bruno.Verlyck@inria.fr>
From: Bruno.Verlyck@inria.fr
To: "Matthieu Dubuget" <matthieu.dubuget@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Waiting for float time
Date: Thu, 28 Jun 2007 17:03:58 +0200 [thread overview]
Message-ID: <200706281503.l5SF3wBX032403@waco.inria.fr> (raw)
In-Reply-To: <9f09a07a0706280415m3730487bl9fa9493148c03e9a@mail.gmail.com> (matthieu.dubuget@gmail.com)
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.
next prev parent reply other threads:[~2007-06-28 15:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 21:55 sayan
2007-06-27 22:11 ` [Caml-list] " Karl Zilles
2007-06-28 11:15 ` Matthieu Dubuget
2007-06-28 15:03 ` Bruno Verlyck, Bruno.Verlyck [this message]
2007-06-28 15:29 ` Matthieu Dubuget
2007-06-28 15:57 ` Bruno Verlyck, Bruno.Verlyck
2007-06-27 22:21 ` Robert Roessler
2007-06-28 10:15 ` sayan
2007-06-28 10:18 ` Vincent Hanquez
2007-06-28 11:18 ` Bünzli Daniel
2007-06-28 11:33 ` Yaron Minsky
2007-06-29 10:17 ` Robert Roessler
2007-06-28 12:50 ` Thomas Fischbacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706281503.l5SF3wBX032403@waco.inria.fr \
--to=bruno.verlyck@inria.fr \
--cc=caml-list@yquem.inria.fr \
--cc=matthieu.dubuget@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).