Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

This is probably a minor issue, but my addled brain is having a problem absorbing the method to do what I need.

In short I have two (2) processes/functions I will call WASH() and DRY().

The first process is called with a parameter WASH($LOAD1), can be called a number of times and is completely independent. Hence it is ripe for mulitasking/threading.

The DRY() process, however, can not run till all WASH() processes are complete.

In short, I need a routine that will start processes WASH($LOAD1)...WASH($LOAD_N) in parallel, wait for completion of all WASH() processes then start DRY().

Many Thanks,

Texican

Replies are listed 'Best First'.
Re: Multitasking Effort
by perrin (Chancellor) on Sep 01, 2001 at 00:25 UTC