[Ssh-sftp-perl-users] are net::ssh::perl and net::sftp considered thread safe?
Brought to you by:
dbrobins
From: Yishay W. <yis...@ho...> - 2005-06-19 09:22:45
|
Hi, In order to use net::ssh::perl and net::sftp in a non blocking fashion I'm considering using them with threads. I first would like to know if it's considered safe. I'm using perl 5.8 on windows. I already tried using fork() for the same purpose but encountered some problems on win2k. I would sometimes get an error message. I can't currently reconstruct the problem I had with fork(). I might give more precise info in a separate post. I was only wondering if anyone's tried using threads for this purpose or if a different non-fork() solution exists. Using expect.pm seems like overkill for me, anyway it appears to just be a variation of the fork() solution if I'm correct. Thanks, Yishay _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |