Parallel::ForkManager::Child - phpMan

Command: man perldoc info search(apropos)  


Parallel::ForkManager::Child(3pUser Contributed Perl DocumentatiParallel::ForkManager::Child(3pm)

NAME
       Parallel::ForkManager::Child - role adopted by forked Parallel::ForkManager processes

VERSION
       version 2.02

SYNOPSIS
          use 5.10.0;

          use Parallel::ForkManager;

          my $fm = Parallel::ForkManager->new;

          say "parent does not consume the child role: ", $fm->does('Parallel::ForkManager::Child');

          $fm->start_child(sub{
               sleep $_;
               say "but the child does: ", $fm->does('Parallel::ForkManager::Child');
               say "child $_ says hi!"

          }) for 1..3;

DESCRIPTION
       When the parent Parallel::ForkManager object forks a child process, its forked incarnation
       consumes this role. The role doesn't do much: it changes the returning values of
       "is_child" and "is_parent" in the way you'd expect, change "start" so that it'd die if
       called from within the child, and change the implementation of "finish" to potentially
       send data back to the parent process.

AUTHORS
       o   dLux (Szabo, Balazs) <dlux AT dlux.hu>

       o   Yanick Champoux <yanick AT cpan.org>

       o   Gabor Szabo <gabor AT szabgab.com>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2018, 2016, 2015 by Balazs Szabo.

       This is free software; you can redistribute it and/or modify it under the same terms as
       the Perl 5 programming language system itself.

perl v5.28.0                                2018-11-09          Parallel::ForkManager::Child(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-21 19:00 @3.149.214.28 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!