in reply to Net::SSH2 not thread safe?
You could follow a suggestion BrowserUK gave to me - put the non-thread safe bits of your code in another script, then use open() (or IPC::Open2 if you need bi-di communication) in the original script to communicate with the second script in another process, thus bypassing any thread safety issues.
My issue was with Crypt::SSLeay but the solution should work well for you too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH2 not thread safe?
by Anonymous Monk on Nov 06, 2011 at 12:35 UTC |