From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 31A8BBC6B for ; Thu, 28 Jun 2007 17:57:28 +0200 (CEST) Received: from waco.inria.fr (waco.inria.fr [128.93.25.2]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5SFvQq9017170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jun 2007 17:57:27 +0200 Received: from waco.inria.fr (localhost [127.0.0.1]) by waco.inria.fr (8.13.6/8.13.6) with ESMTP id l5SFvQ0m032487; Thu, 28 Jun 2007 17:57:26 +0200 Received: (from verlyck@localhost) by waco.inria.fr (8.13.6/8.12.10/Submit) id l5SFvQkd032486; Thu, 28 Jun 2007 17:57:26 +0200 Date: Thu, 28 Jun 2007 17:57:26 +0200 Message-Id: <200706281557.l5SFvQkd032486@waco.inria.fr> From: Bruno Verlyck To: "Matthieu Dubuget" Cc: caml-list@yquem.inria.fr In-reply-to: <9f09a07a0706280829t51db7651qb041089bdd522f7d@mail.gmail.com> (matthieu.dubuget@gmail.com) Subject: Re: [Caml-list] Waiting for float time From: Bruno.Verlyck@inria.fr References: <4682DCDF.5000301@crans.org> <4682E0A7.7030503@1969web.com> <9f09a07a0706280415m3730487bl9fa9493148c03e9a@mail.gmail.com> <200706281503.l5SF3wBX032403@waco.inria.fr> <9f09a07a0706280829t51db7651qb041089bdd522f7d@mail.gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-j-chkmail-Score: MSGID : 4683DA67.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 4683DA67.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 ocaml:01 28,:98 28,:98 crans:98 5209:98 5209:98 beginners:01 wrote:01 faq:01 unix:01 unix:01 Date: Thu, 28 Jun 2007 17:29:46 +0200 From: "Matthieu Dubuget" 2007/6/28, Bruno Verlyck : > Date: Thu, 28 Jun 2007 13:15:31 +0200 > From: "Matthieu Dubuget" > 2007/6/28, Karl Zilles : > > 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 ? Fair answer. But I'm sure you understood my question, didn't you? I try :-) 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). So. Suppose there is some short tricks/recipes list about OCaml About Unix. I found "The Single UNIX® Specification" worth reading (as a reference, not as an intro). somewhere: it may save time to beginners looking for such things. I asked the question, because maybe, there is already such a place? (The caml-list archive since today, at least...) In the caml-list, Xavier often recommends «the books by W. Richard Stevens ("Advanced Programming in the Unix Environment", "Unix Network Programming", etc)»; e.g., in http://groups.google.com/group/fa.caml/browse_thread/thread/e591ab18a8397a2f/c19874b0c2d5209a?lnk=gst&q=system+programming+book+leroy&rnum=1#c19874b0c2d5209a Sorry for these frustrating answers :-) Bruno (who doesn't HTH anymore...)