line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POE::XS::Loop::Poll; |
2
|
33
|
|
|
33
|
|
3046561
|
use strict; |
|
33
|
|
|
|
|
92
|
|
|
33
|
|
|
|
|
1386
|
|
3
|
33
|
|
|
33
|
|
186
|
use vars qw(@ISA $VERSION); |
|
33
|
|
|
|
|
68
|
|
|
33
|
|
|
|
|
5372
|
|
4
|
|
|
|
|
|
|
BEGIN { |
5
|
33
|
50
|
|
33
|
|
210
|
unless (defined &POE::Kernel::TRACE_CALLS) { |
6
|
|
|
|
|
|
|
# we ignore TRACE_DEFAULT, since it's not really standard POE and it's |
7
|
|
|
|
|
|
|
# noisy |
8
|
33
|
|
|
|
|
114
|
*POE::Kernel::TRACE_CALLS = sub () { 0 }; |
9
|
|
|
|
|
|
|
} |
10
|
33
|
|
|
|
|
83
|
$VERSION = '1.000'; |
11
|
|
|
|
|
|
|
eval { |
12
|
|
|
|
|
|
|
# try XSLoader first, DynaLoader has annoying baggage |
13
|
33
|
|
|
|
|
343
|
require XSLoader; |
14
|
33
|
|
|
|
|
24448
|
XSLoader::load('POE::XS::Loop::Poll' => $VERSION); |
15
|
33
|
|
|
|
|
3239
|
1; |
16
|
33
|
50
|
|
|
|
69
|
} or do { |
17
|
0
|
|
|
|
|
|
require DynaLoader; |
18
|
0
|
|
|
|
|
|
push @ISA, 'DynaLoader'; |
19
|
0
|
|
|
|
|
|
bootstrap POE::XS::Loop::Poll $VERSION; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
require POE::Loop::PerlSignals; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
if ((POE::Kernel::TRACE_FILES() || POE::Kernel::TRACE_EVENTS()) |
26
|
|
|
|
|
|
|
&& !tracing_enabled()) { |
27
|
|
|
|
|
|
|
print POE::Kernel::TRACE_FILE " ", __PACKAGE__, " was built without tracing enabled, build with perl Makefile.PL --trace to enable tracing\n"; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# everything else is XS |
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__END__ |