caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Yaron Minsky" <yminsky@cs.cornell.edu>
To: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Waiting for float time
Date: Thu, 28 Jun 2007 07:33:14 -0400	[thread overview]
Message-ID: <891bd3390706280433u7b9c0ed6me56e8a6474c17310@mail.gmail.com> (raw)
In-Reply-To: <4682E2D9.4050207@rftp.com>

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

On 6/27/07, Robert Roessler <roessler@rftp.com> wrote:
>
> sayan@crans.org wrote:
>
> I believe the OCaml idiom for this is to use Unix.select with empty
> lists for all THREE of the descriptor lists... and this does work on
> Windows.


Note, on Unix  at least, you need to wrap the call to select in an exception
handler, since select can be interrupted, at which point the call throws an
exception.

y

[-- Attachment #2: Type: text/html, Size: 742 bytes --]

  parent reply	other threads:[~2007-06-28 11:33 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
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 [this message]
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=891bd3390706280433u7b9c0ed6me56e8a6474c17310@mail.gmail.com \
    --to=yminsky@cs.cornell.edu \
    --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).