An object to manage running things in parallel processes
35.40 KB
built 2026-10-16 23:27:52 GMT
Description
There are several other modules to do this, you probably want one of them. This
module exists as a super-specialized parallel task manager. You create the
object with a process limit and callbacks for what to do while waiting for a
free process slot, as well as a callback for what a process should do just
before exiting.
You must explicitly call $runner->finish() when you are done. If the runner is
destroyed before its children are finished, a warning will be generated and
your child processes will be killed, by force if necessary.
If you specify a maximum of 1 then no forking will occur, and run() will block
until the coderef returns. You can force a fork by providing a boolean true
value as the second argument to run(), which will force the runner to fork
before running the coderef; however, run() will still block until the child
exits.
Dependencies
17 totalRequires16
- coreutils
- findutils
- make
- perl(Carp)
- perl(Child) >= 0.009
- perl(ExtUtils::MakeMaker)
- perl(POSIX)
- perl(Test2::IPC)
- perl(Test2::V0)
- perl(Time::HiRes)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-Parallel-Runner = 0.014-6.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Parallel-Runner-0.014.tar.gz | 17.60 KB |
| perl-Parallel-Runner.spec | 7.15 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
