caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: <olsongt@verizon.net>
To: caml-list@yquem.inria.fr
Subject: Re: Re: [Caml-list] Waiting for float time
Date: Thu, 28 Jun 2007 12:10:23 -0500 (CDT)	[thread overview]
Message-ID: <2314909.6276031183050624963.JavaMail.root@vms171.mailsrvcs.net> (raw)


>>  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).

But it is an OCaml related issue.  Pretty-much any language out there
will let you do a sub-second sleep.  The 'select' technique is a hack
(or work-around, I'll be polite).  I imagine anyone who knew the
answer knew it via folklore, that is someone else told them about it,
they didn't all figure it out on their own via intuitive reasoning.  That's how I found out about it.

Maybe a "Tricks & Tips" section on ocaml-tutorial would be useful.


                 reply	other threads:[~2007-06-28 17:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2314909.6276031183050624963.JavaMail.root@vms171.mailsrvcs.net \
    --to=olsongt@verizon.net \
    --cc=caml-list@yquem.inria.fr \
    /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).