line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::Waiting; |
2
|
246
|
|
|
246
|
|
2139
|
use strict; |
|
246
|
|
|
|
|
495
|
|
|
246
|
|
|
|
|
7118
|
|
3
|
246
|
|
|
246
|
|
1250
|
use warnings; |
|
246
|
|
|
|
|
497
|
|
|
246
|
|
|
|
|
12886
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.302181'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
246
|
|
|
246
|
|
1330
|
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } |
|
246
|
|
|
|
|
8776
|
|
9
|
246
|
|
|
246
|
|
1586
|
use Test2::Util::HashBase; |
|
246
|
|
|
|
|
505
|
|
|
246
|
|
|
|
|
1628
|
|
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
1
|
10
|
sub global { 1 }; |
12
|
|
|
|
|
|
|
|
13
|
13
|
|
|
13
|
1
|
170
|
sub summary { "IPC is waiting for children to finish..." } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub facet_data { |
16
|
12
|
|
|
12
|
1
|
48
|
my $self = shift; |
17
|
|
|
|
|
|
|
|
18
|
12
|
|
|
|
|
197
|
my $out = $self->common_facet_data; |
19
|
|
|
|
|
|
|
|
20
|
12
|
|
|
|
|
40
|
push @{$out->{info}} => { |
|
12
|
|
|
|
|
89
|
|
21
|
|
|
|
|
|
|
tag => 'INFO', |
22
|
|
|
|
|
|
|
debug => 0, |
23
|
|
|
|
|
|
|
details => $self->summary, |
24
|
|
|
|
|
|
|
}; |
25
|
|
|
|
|
|
|
|
26
|
12
|
|
|
|
|
58
|
return $out; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=pod |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=encoding UTF-8 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 NAME |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Test2::Event::Waiting - Tell all procs/threads it is time to be done |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This event has no data of its own. This event is sent out by the IPC system |
44
|
|
|
|
|
|
|
when the main process/thread is ready to end. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SOURCE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
The source code repository for Test2 can be found at |
49
|
|
|
|
|
|
|
F<http://github.com/Test-More/test-more/>. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 MAINTAINERS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=over 4 |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item Chad Granum E<lt>exodist@cpan.orgE<gt> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=back |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHORS |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over 4 |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item Chad Granum E<lt>exodist@cpan.orgE<gt> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=back |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 COPYRIGHT |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Copyright 2020 Chad Granum E<lt>exodist@cpan.orgE<gt>. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or |
72
|
|
|
|
|
|
|
modify it under the same terms as Perl itself. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
See F<http://dev.perl.org/licenses/> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=cut |