IPC::Simple::Group - work with several processes as a group
version 0.09
The constructor for this class should be considered private, and the semantics for instantiating this class may change.
Instead, use "process_group" in IPC::Simple to create process groups.
Also note that processes being added to a group must fit the following criteria:
Grouping processes that have already been launched may result in messages being queued in the process' own queue rather than the group one.
Returns the unordered list of IPC::Simple processes within this group.
Launches all of the processes in this group.
Terminates all of the processes in this group. Arguments are forwarded to "terminate" in IPC::Simple.
Sends a signal to all members of the group. Arguments are forwarded to "signal" in IPC::Simple.
$group->signal('HUP');
Blocks until all of the processes in this group have terminated.
Returns the next message to be received from one of the processes in this group.
Jeff Ober <sysread@fastmail.fm>
This software is copyright (c) 2020 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install IPC::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Simple
CPAN shell
perl -MCPAN -e shell install IPC::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.