|Think about Loose Coupling|
Re: Is Net::SSH::Expect a thread-safe module?by Anonymous Monk
|on Jan 26, 2012 at 01:29 UTC||Need Help??|
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
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