in reply to Is Net::SSH::Expect a thread-safe module?
I didn't find this information in the module description even.
This probably means it is not thread-safe
However, Net::SSH::Expect is pure-perl, this probably means it is thread-safe, it depends on the dependencies
Expect is a dependency, so the question, is Expect thread-safe
http://search.cpan.org/dist/Expect/Expect.pod#Is_it_possible_to_use_threads_with_Expect?
Basically yes, with one restriction: you must spawn() your programs in the main thread and then pass the Expect objects to the handling threads.
So yeah, Net::SSH::Expect is probably thread safe
see also ?node_id=3989;HIT=thread%20safe;re=N
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is Net::SSH::Expect a thread-safe module?
by BrowserUk (Patriarch) on Jan 26, 2012 at 07:20 UTC | |
by Anonymous Monk on Jan 26, 2012 at 08:29 UTC | |
by BrowserUk (Patriarch) on Jan 26, 2012 at 10:08 UTC |