diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-01-15 14:16:53 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-01-15 14:16:53 +0000 |
commit | c301d6064f299b8a77670348b81d25d2d94d6a2f (patch) | |
tree | 4661596c73b9a8b1af9f57407939bb72efd14537 /unixish.h | |
parent | fb54e853c1d154ca0b17cebf36613cf8e29339fe (diff) | |
download | perl-c301d6064f299b8a77670348b81d25d2d94d6a2f.tar.gz |
extend threads 'veto cleanup' to perl_free and system stuff
p4raw-id: //depot/perl@29827
Diffstat (limited to 'unixish.h')
-rw-r--r-- | unixish.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -132,7 +132,11 @@ #endif #ifndef PERL_SYS_TERM -# define PERL_SYS_TERM() HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM +# define PERL_SYS_TERM() \ + if (!PL_veto_cleanup) { \ + HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM; \ + } + #endif #define BIT_BUCKET "/dev/null" |