NAME Parallel::Prefork - A simple prefork server framework SYNOPSIS use Parallel::Prefork; my $pm = Parallel::Prefork->new({ max_workers => 10, trap_signals => { TERM => 'TERM', HUP => 'TERM', USR1 => undef, } }); while ($pm->signal_received ne 'TERM') { load_config(); $pm->start(sub { ... do some work within the child process ... }); } $pm->wait_all_children(); DESCRIPTION Parallel::Prefork is mu
{{#tags}}- {{label}}
{{/tags}}