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 /perlvars.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 'perlvars.h')
-rw-r--r-- | perlvars.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h index 94792fe0da..4970146b07 100644 --- a/perlvars.h +++ b/perlvars.h @@ -146,3 +146,8 @@ PERLVAR(Ghints_mutex, perl_mutex) /* Mutex for refcounted he refcounting */ #if defined(USE_ITHREADS) PERLVAR(Gperlio_mutex, perl_mutex) /* Mutex for perlio fd refcounts */ #endif + +/* this is currently set without MUTEX protection, so keep it a type which + * can be set atomically (ie not a bit field) */ +PERLVARI(Gveto_cleanup, int, FALSE) /* exit without cleanup */ + |