diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-01-16 22:07:26 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-01-16 22:07:26 +0000 |
commit | ce08f86c8b1d404b3d9fec75a102b8cd65f8766a (patch) | |
tree | 99554dbf0369752a5ad53b5a4f7cacfeee7993f8 /perl.c | |
parent | 8a56572fafff2f72353c07ffd8e7d0373972b8d5 (diff) | |
download | perl-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 'perl.c')
-rw-r--r-- | perl.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -724,6 +724,7 @@ perl_destruct(pTHXx) Safefree(PL_op_mask); Safefree(PL_psig_ptr); Safefree(PL_psig_name); + Safefree(PL_psig_pend); nuke_stacks(); PL_hints = 0; /* Reset hints. Should hints be per-interpreter ? */ @@ -789,12 +790,12 @@ perl_free(pTHXx) # if defined(PERL_IMPLICIT_SYS) void *host = w32_internal_host; if (PerlProc_lasthost()) { - PerlIO_cleanup(); + PerlIO_cleanup(); } PerlMem_free(aTHXx); win32_delete_internal_host(host); #else - PerlIO_cleanup(); + PerlIO_cleanup(); PerlMem_free(aTHXx); #endif # else |