Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Coro::Channel, worker thread and timeout

by Marseille07 (Acolyte)
on Sep 13, 2011 at 06:00 UTC ( [id://925624]=note: print w/replies, xml ) Need Help??


in reply to Re: Coro::Channel, worker thread and timeout
in thread Coro::Channel, worker thread and timeout

It turned out tcp_connect returns a guard object unless it is in the void context, so I played with it a little bit -- unfortunately, it is not allowing me to get out of the timer call back and then proceed with the worker thread. I was hoping there is a way to do that, but maybe after the Anyevent->timer CB gets invoked, there is no way back to the while(1) loop -- which I think was strange but it may just be how it is.
  • Comment on Re^2: Coro::Channel, worker thread and timeout

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found