Arch::RunLimit - class to enforce a limit on the number of running processes
my $limit = Arch::RunLimit->new(file => $limit_file);
die "run-limit exceeded" if $limit->exceeded;
Arch::RunLimit provides an easy way to enforce a limit on the number of concurrently running processes.
The following methods are available:
- new %opts
- Create a new Arch::RunLimit object with the specified options:
- file (mandatory)
- The file used to keep track of the number of processes.
The maximum number of concurrently running processes. Defaults to
The timeout after which a process is assumed to be terminated in
seconds. Defaults to
1if the number of concurrently running processes has been exceeded,
Awaiting your reports.
Mikhael Goikhman (email@example.com--Perl-GPL/arch-perl--devel)
Enno Cramer (firstname.lastname@example.org/arch-perl--devel)