Version française
Home     About     Download     Resources     Contact us    
Browse thread
Timeouts in Event module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron Minsky <yminsky@g...>
Subject: Re: [Caml-list] Timeouts in Event module
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
> >
> >
> >
>