Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: alarm() and later()

3 views
Skip to first unread message

Leopold Toetsch

unread,
Apr 20, 2005, 2:20:04 AM4/20/05
to Gaal Yahas, perl6-i...@perl.org, perl6-l...@perl.org
Gaal Yahas <ga...@forum2.org> wrote:
> Two things popped up while implementing a demo version of alarm() today.

> 1. In perl5 and in most underlying libraries, alarm() has 1 second
> granularity

> 2. ..., in which you can
> pass an optional closure to alarm()

I can't say anything about the actual Perl6 syntax, but Parrot provides
sub-second resolution as well as alarm callbacks and of course multiple
timers.

leo

0 new messages