[Info-vax] counting-lock ?

Michael Moroney moroney at world.std.spaamtrap.com
Thu Oct 22 18:13:06 EDT 2009


Marty Kuhrt <marty at spamloop.kuhrt.net> writes:

>Set up a special queue for the resource and set the queue job limit 
>(/JOB_LIMIT=5).  If something is submitted, and five are executing, it 
>will wait.  If a job completes or dies (assuming it doesn't hang), then 
>the next job in line gets run.

Does anyone know what algorithm is used by the queue manager to implement
this (allow JOB_LIMIT jobs to run but no more, and when one completes,
select the one waiting the longest to run) ?



More information about the Info-vax mailing list