From: Yaron Minsky <yminsky@gmail.com>
To: SooHyoung Oh <shoh@compiler.kaist.ac.kr>
Cc: Caml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Timeouts in Event module
Date: Sun, 23 Jan 2005 20:56:28 -0500 [thread overview]
Message-ID: <891bd339050123175618dc6acc@mail.gmail.com> (raw)
In-Reply-To: <41F44701.4040500@compiler.kaist.ac.kr>
Thanks. That looks quite useful. I suppose one could create a
timed event by creating a channel and scheduling a callback to send on
that channel. It seems like a bit of a hack (not your library, but
the need to use such a mechanism to simulate timeouts), but it should
do the job.
y
On Mon, 24 Jan 2005 09:53:21 +0900, SooHyoung Oh
<shoh@compiler.kaist.ac.kr> wrote:
>
> I implemented a timer library.
> Look http://pllab.kaist.ac.kr/~shoh/ocaml/libs/timer/
> This library uses Sys module and unix, thread library.
>
> Yaron Minsky 쓴 글:
>
> >Does anyone know of a way of achieving timeouts using OCaml's Event
> >module? Reppy's Concrrent ML has timeout and attime events which
> >cover for that need. I'm wondering if there is some other way of
> >implementing this using Event, or if this is just a missing feature.
> >
> >Thanks,
> >Yaron
> >
> >_______________________________________________
> >Caml-list mailing list. Subscription management:
> >http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> >Archives: http://caml.inria.fr
> >Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> >Bug reports: http://caml.inria.fr/bin/caml-bugs
> >
> >
> >
>
next prev parent reply other threads:[~2005-01-24 1:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 13:49 Yaron Minsky
2005-01-24 0:53 ` [Caml-list] " SooHyoung Oh
2005-01-24 1:56 ` Yaron Minsky [this message]
2005-01-24 14:44 ` Markus Mottl
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=891bd339050123175618dc6acc@mail.gmail.com \
--to=yminsky@gmail.com \
--cc=caml-list@inria.fr \
--cc=shoh@compiler.kaist.ac.kr \
--cc=yminsky@cs.cornell.edu \
/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).