|
|
| more useful options | |
| PerlMonks |
Re^3: Need help with Perl multi threadingby Eliya (Priest) |
| on Jan 25, 2012 at 21:13 UTC ( #949967=note: print w/ replies, xml ) | Need Help?? |
|
I suspect your main problem is that you're trying to use the same instance of the SSH connection in all threads. Creating a new thread doesn't automagically also create a new independent duplicate of the connection (socket, server-side process, and all), so the SSH will probably get mildly confused when multiple clients are talking simultaneously on the same line...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||