Name : perl-Parallel-Runner
| |
Version : 0.013
| Vendor : Fedora Project
|
Release : 5.fc21
| Date : 2014-06-07 13:08:39
|
Group : Development/Libraries
| Source RPM : perl-Parallel-Runner-0.013-5.fc21.src.rpm
|
Size : 0.02 MB
| |
Packager : Fedora Project
| |
Summary : An object to manage running things in parallel processes
|
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.
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/releases/21/Everything/x86_64/os/Packages/p |