X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlvars.h;h=4970146b07a4faf17557c7b71252c546cda0f154;hb=fe578d7fdd84ab0398dc36da7f84e59e1f2bb290;hp=b4f3e51319f08d1996566de0c66a5c00b7caeb70;hpb=71ad1b0c3807f6097c8da083d9dcbd8c03af5f43;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlvars.h b/perlvars.h index b4f3e51..4970146 100644 --- a/perlvars.h +++ b/perlvars.h @@ -55,7 +55,11 @@ PERLVAR(Gdollarzero_mutex, perl_mutex) /* Modifying $0 */ #endif /* This is constant on most architectures, a global on OS/2 */ +#ifdef OS2 +PERLVARI(Gsh_path, char *, SH_PATH)/* full path of shell */ +#else PERLVARI(Gsh_path, const char *, SH_PATH)/* full path of shell */ +#endif #ifndef PERL_MICRO /* If Perl has to ignore SIGPFE, this is its saved state. @@ -138,3 +142,12 @@ PERLVARI(Gmy_cxt_index, int, 0) #if defined(USE_ITHREADS) PERLVAR(Ghints_mutex, perl_mutex) /* Mutex for refcounted he refcounting */ #endif + +#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 */ +