doubledecker has asked for the wisdom of the Perl Monks concerning the following question:
Monks
I want to implement Queue mechanism in Perl where in I've a set of 300 jobs in hand and want to run only 3 at a time. I need to regularly check if the processes I've triggered are already running, If so don't start anything new. If any of the process is completed, trigger another process and utmost only 3 processes should run.
Any ideas or suggestions
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Implement Queue mechanism in Perl
by BrowserUk (Patriarch) on Jan 11, 2011 at 07:15 UTC | |
|
Re: Implement Queue mechanism in Perl
by ikegami (Patriarch) on Jan 11, 2011 at 06:43 UTC | |
|
Re: Implement Queue mechanism in Perl
by cdarke (Prior) on Jan 11, 2011 at 13:00 UTC | |
|
Re: Implement Queue mechanism in Perl
by JavaFan (Canon) on Jan 11, 2011 at 13:11 UTC | |
|
Re: Implement Queue mechanism in Perl
by locked_user sundialsvc4 (Abbot) on Jan 11, 2011 at 17:17 UTC | |
by Anonymous Monk on Jan 11, 2011 at 19:26 UTC | |
|
Re: Implement Queue mechanism in Perl
by moritz (Cardinal) on Jan 12, 2011 at 07:52 UTC |