summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-01-16 22:07:26 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-01-16 22:07:26 +0000
commitce08f86c8b1d404b3d9fec75a102b8cd65f8766a (patch)
tree99554dbf0369752a5ad53b5a4f7cacfeee7993f8 /sv.c
parent8a56572fafff2f72353c07ffd8e7d0373972b8d5 (diff)
downloadperl-ce08f86c8b1d404b3d9fec75a102b8cd65f8766a.tar.gz
Provide infrastructure for PERL_ASYNC_CHECK() style safe signals.
Provides all the "cost" but no benefit yet - it is to allow cost to be measured, and implementation experiments (just in mg.c?). p4raw-id: //depot/perlio@8457
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 341792412b..54eb4193b0 100644
--- a/sv.c
+++ b/sv.c
@@ -8869,6 +8869,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
int sig_num[] = { SIG_NUM };
Newz(0, PL_psig_ptr, sizeof(sig_num)/sizeof(*sig_num), SV*);
Newz(0, PL_psig_name, sizeof(sig_num)/sizeof(*sig_num), SV*);
+ Newz(0, PL_psig_pend, sizeof(sig_num)/sizeof(*sig_num), int*);
for (i = 1; PL_sig_name[i]; i++) {
PL_psig_ptr[i] = sv_dup_inc(proto_perl->Ipsig_ptr[i]);
PL_psig_name[i] = sv_dup_inc(proto_perl->Ipsig_name[i]);
@@ -8877,6 +8878,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
else {
PL_psig_ptr = (SV**)NULL;
PL_psig_name = (SV**)NULL;
+ PL_psig_pend = (int*)NULL;
}
/* thrdvar.h stuff */