Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Threaded Application Sequencing/Rendezvous

by moritz (Cardinal)
on Jul 11, 2012 at 16:13 UTC ( #981183=note: print w/ replies, xml ) Need Help??


in reply to Threaded Application Sequencing/Rendezvous

Such a system happens to be available in GNU make. You can control the number of commands executed in parallel with the -j option, so make -j4 would start at most 4 processes in parallel.

If you happen to have a good way to factor everything so that each step produces a file (and reads the files it depends on), this might be an elegant solution.


Comment on Re: Threaded Application Sequencing/Rendezvous
Select or Download Code
Re^2: Threaded Application Sequencing/Rendezvous
by learnedbyerror (Beadle) on Jul 12, 2012 at 21:57 UTC

    Moritz, Thanks for the suggestion. I do like the simplicity of this. I am still trying to keep it all in perl; however, if I don't succeed, make is my first fallback.

    Thanks, lbe

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981183]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-06 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls