GitXplorerGitXplorer
p

POE-Wheel-Spawner

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
1c58b46ac9f2cb6d7bf016eda09f2342e23cc395

extend travis ci perl setting by 5.2{6,8}

committed 5 years ago
Unverified
8c3e3dcf885734d169d4a041db236245963ce322

remove depricated sudo: false

committed 5 years ago
Unverified
d25060733845ecea3010e2304503a32c2a8f1463

changes

committed 8 years ago
Unverified
6e392251ede956864539d08ad2fc88be8c7b8a92

v0.03.02

committed 8 years ago
Unverified
30f9e5293ba181b2d7cf079f5c4fa5350c6c20dc

update version requirements to 0.77

committed 8 years ago
Unverified
5ce3066942348f9b3716d2dbc8e6b4b4973869c2

rename to POE-Wheel-Spawner

committed 8 years ago

README

The README file for this repository.

POE-Wheel-Spawner

CPAN version Build Status Coverage Status

POE::Wheel::Spawner is based on POE::Wheel::Run. This module offers a smart facility to arrange a minimal required nummer of subprocesses

    use POE::Wheel::Spawner;
    my $foo = POE::Wheel::Spawner->new(
                pool_size => 2,
                stop_if_done => 1,
                workload => sub { _workload() }
        );

    $foo->run();

    sub _workload {
        # request for a new sibling
        $foo->spawn($$);
        # do some stuff
    }