Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Threads getting stuck in ssh connection

by talexb (Canon)
on Sep 30, 2013 at 14:25 UTC ( #1056368=note: print w/replies, xml ) Need Help??

in reply to Threads getting stuck in ssh connection

Well, I see code for call_cmd which seems to be trying to run a command locally and collect the output -- but it isn't called anywhere; I see a main body that runs through an array, creating threads incorrectly (you have a call to the thread creation routine where you should have a coderef); and finally, you call ssh_con from thread_creation, but it isn't defined anywhere.

I'd recommend appending a complete script that exhibits the incorrect behaviour (don't delete the existing material), and of course remember to use strict and use warnings.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-10-24 03:31 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (286 votes). Check out past polls.