Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change


by icezero (Initiate)
on Oct 30, 2001 at 20:59 UTC ( #122134=user: print w/replies, xml ) Need Help??

User Bio, hmm.

I am a 190cm tall turkey,
with black hairs and green-brown eyes.
But I can not fly and have no plumes.

And I swear, no one will feed me up for Thanksgiving.
I hope thats clear!!


My Monks

demerphqMy personal Perl-God :))
mdupontThe other Perl-God
SchukMy Co-trainee. He is the psycho one!!!

Log In?

What's my password?
Create A New User
[ambrus]: Corion: what I don't understand is, if you make a one-shot AnyEvent timer with short timeout, does this code guarantee that the Prima timer can't queue two timeout events before invoking any of them?
[ambrus]: Because that could break AnyEvent code, which is why I added a guard.
[ambrus]: (It might be easier to use the callback scalar as a guard, as in $c and &$c(); $c = ();)
[Corion]: ambrus: Hurr - yes, that might happen, as Prima will queue lots of stuff (Well, Windows will)
[Corion]: But I'm really amazed that it just took this little code (plus the idle handler I have in mind and something else dk suggested)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-12-09 09:01 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (150 votes). Check out past polls.