|more useful options|
Re^9: Need help with Perl multi threadingby BrowserUk (Pope)
|on Jan 30, 2012 at 17:01 UTC||Need Help??|
I am able to run the scripts with Net:;OpenSSH module having the statements like threads->create()->join(). may be it is not a good idea but the script execution time drastically changed and my script is also working as I want.....
You are not listening. This
Is exactly the same as:
Except it takes LONGER!
Because it starts a whole new thread, and then waits for it to complete before looping around and doing the same again.
In other words. You are getting no benefit from the threading. (Though you would if you used threading correctly!)
If you are seeing a speed up, it is because you are now using a different SSH module which is better written and works properly. That's all.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.