Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Reading Elements of an array in Parallel

by T_I (Novice)
on Feb 27, 2013 at 12:28 UTC ( #1020872=note: print w/replies, xml ) Need Help??

in reply to Reading Elements of an array in Parallel

I've been working with an almost similar issue and I decided to use threads to parallel process my data. This works fine when you don't have to end a thread after a time-out and start something else to get the same result. In this case I would simply wait for max. timeout for all commands to finish and then process what you have, report the jobs that didn't report back and simply exit the script. (thus freeing the resources.

  • Comment on Re: Reading Elements of an array in Parallel

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020872]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2018-05-22 18:28 GMT
Find Nodes?
    Voting Booth?