Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2016-10-25 05:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.