Link to home
Start Free TrialLog in
Avatar of ku916
ku916

asked on

Multi threading with queue

Is there any way to have perl implement multi-threading in a pool like manner. Lets say I have a set number of concurrent jobs set to 5 and there are 6 jobs all together. I want kick on 5 jobs concurrently and as soon as 1 of the 5 jobs finish, the 6th job would get kick off. This is in NT environment (not sure if OS has to do with real multi-threading) and the jobs are really commandline executeable to call other programs.

Is there any good reads with example on the web?
thanks
Ku
ASKER CERTIFIED SOLUTION
Avatar of spdev
spdev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial