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=1.1 required=5.0 tests=AWL,HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 44C6EBC6B for ; Thu, 28 Jun 2007 13:15:34 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.234]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5SBFXnS004553 for ; Thu, 28 Jun 2007 13:15:33 +0200 Received: by nz-out-0506.google.com with SMTP id s1so242798nze for ; Thu, 28 Jun 2007 04:15:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Oq0RjCmMYhYuZtb4sxyegWqLDn8H0sLA+YRj8xRDIj1FA3fLeJy7JHTXobwVptHUR10b77x284es69G45Q8EmLkKZbRjV2IHk7pstv67h52kV0rd8Ho5dQZDKui48jTWO7kmSOFtB1xy6263vi1Ee2YwysqzAqmAit7Znd9PSK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KxZuHP3oBcLEU+WqeL9HWhEocdoX5t07rkbHfldhGu5KhzXctcNtoGFjoTXDU/X0vY3YPuNBJlIZVITGlX846iWM8UrZ4RbJ4rxzFviUuD10AF8MjpcnikzE9LvPXeLvb8r3FNJ92fThyY/MfuxF7gAiNBnxjeB34h2fincZYeI= Received: by 10.115.46.9 with SMTP id y9mr1409451waj.1183029331975; Thu, 28 Jun 2007 04:15:31 -0700 (PDT) Received: by 10.115.60.4 with HTTP; Thu, 28 Jun 2007 04:15:31 -0700 (PDT) Message-ID: <9f09a07a0706280415m3730487bl9fa9493148c03e9a@mail.gmail.com> Date: Thu, 28 Jun 2007 13:15:31 +0200 From: "Matthieu Dubuget" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Waiting for float time In-Reply-To: <4682E0A7.7030503@1969web.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31244_16000418.1183029331952" References: <4682DCDF.5000301@crans.org> <4682E0A7.7030503@1969web.com> X-j-chkmail-Score: MSGID : 46839855.004 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46839855.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 28,:98 crans:98 28,:98 crans:98 wrote:01 wrote:01 faq:01 faq:01 unix:01 unix:01 caml-list:01 ------=_Part_31244_16000418.1183029331952 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/, ...? Salutations Matt ------=_Part_31244_16000418.1183029331952 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

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/, ...?

Salutations

Matt
------=_Part_31244_16000418.1183029331952--