Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: What's causing the busy wait when using AnyEvent::HTTP

by Corion (Patriarch)
on Apr 11, 2014 at 06:44 UTC ( [id://1081915]=note: print w/replies, xml ) Need Help??


in reply to What's causing the busy wait when using AnyEvent::HTTP

I haven't looked into AnyEvent::HTTP, but if your HTTP request callback never gets called, your code fragment looks as if $cv will never be decremented. This could then turn into an infinite loop.

Replies are listed 'Best First'.
Re^2: What's causing the busy wait when using AnyEvent::HTTP
by Anonymous Monk on Apr 11, 2014 at 07:07 UTC
    That would present differently. The program would never end, but would not use 100% cpu.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found