line |
true |
false |
branch |
64
|
0 |
2 |
if (!_ev->callback) |
66
|
1 |
1 |
if (sig == 0) |
68
|
1 |
0 |
if (PE_RING_EMPTY(&Sigring[sig])) |
77
|
1 |
0 |
PE_RING_DETACH(&ev->sring); |
78
|
1 |
0 |
if (PE_RING_EMPTY(&Sigring[sig])) { |
87
|
1 |
1 |
if (nval) { |
90
|
1 |
0 |
int sig = whichsig(SvPV(nval, n_a)); |
92
|
0 |
1 |
if (sig == 0) |
93
|
0 |
0 |
croak("Unrecognized signal '%s'", SvPV(nval, n_a)); |
94
|
0 |
1 |
if (!PE_SIGVALID(sig)) |
95
|
0 |
0 |
croak("Signal '%s' cannot be caught", SvPV(nval, n_a)); |
96
|
0 |
1 |
if (active) pe_watcher_off(ev); |
98
|
0 |
1 |
if (active) pe_watcher_on(ev, 0); |
102
|
0 |
2 |
XPUSHs(sg->signal > 0? |
|
2 |
0 |
XPUSHs(sg->signal > 0? |
112
|
64 |
1 |
for (xx = 1; xx < NSIG; xx++) { |
113
|
63 |
1 |
if (!st->hits[xx]) |
117
|
1 |
1 |
while (wa) { |
135
|
1 |
193349 |
if (st->Hits) _signal_asynccheck(st); |
139
|
0 |
193350 |
if (st->Hits) _signal_asynccheck(st); |
152
|
1560 |
24 |
for (xx=0; xx < NSIG; xx++) { |
159
|
72 |
24 |
while (*sigp) { |
161
|
48 |
24 |
if (sig) PE_SIGVALID_off(sig); |