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

Re: Creating A Single Threaded Server with AnyEvent

by james2vegas (Chaplain)
on Nov 07, 2012 at 08:57 UTC ( #1002645=note: print w/replies, xml ) Need Help??


in reply to Creating A Single Threaded Server with AnyEvent

You are recursively calling $cv->recv, instead you should, when you create your new condvar, associate a callback which will be called when you send on your $cv

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002645]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2016-12-08 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.