line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Parallel::ForkManager::Child; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:DLUX'; |
3
|
|
|
|
|
|
|
# ABSTRACT: role adopted by forked Parallel::ForkManager processes |
4
|
|
|
|
|
|
|
$Parallel::ForkManager::Child::VERSION = '2.01'; # TRIAL |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
106
|
|
|
106
|
|
636
|
use strict; |
|
106
|
|
|
|
|
212
|
|
|
106
|
|
|
|
|
2717
|
|
8
|
106
|
|
|
106
|
|
514
|
use warnings; |
|
106
|
|
|
|
|
206
|
|
|
106
|
|
|
|
|
2921
|
|
9
|
|
|
|
|
|
|
|
10
|
106
|
|
|
106
|
|
350
|
use Carp; |
|
106
|
|
|
|
|
193
|
|
|
106
|
|
|
|
|
4223
|
|
11
|
|
|
|
|
|
|
|
12
|
106
|
|
|
106
|
|
43920
|
use Moo::Role; |
|
106
|
|
|
|
|
1545659
|
|
|
106
|
|
|
|
|
518
|
|
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
0
|
0
|
sub is_child { 1 } |
15
|
0
|
|
|
0
|
0
|
0
|
sub is_parent { 0 } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub start { |
18
|
0
|
|
|
0
|
0
|
0
|
croak "Cannot start another process while you are in the child process"; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub finish { |
22
|
98
|
|
|
98
|
0
|
11024600
|
my ($s, $x, $r)=@_; |
23
|
|
|
|
|
|
|
|
24
|
98
|
|
|
|
|
6473
|
$s->store($r); |
25
|
|
|
|
|
|
|
|
26
|
98
|
|
50
|
|
|
15311
|
CORE::exit($x || 0); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |