X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlvars.h;h=0c4319b2ab0c765da03417c1d2d689e43aab6fc3;hb=66ccb71661623abcbd6f029b84aa5a6eac24403f;hp=35af2dcad604b3d3ab5dcd24e424863c6a471bb3;hpb=aadb217dbe1b43fbd45cb1644a86dd26d09068d0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlvars.h b/perlvars.h index 35af2dc..0c4319b 100644 --- a/perlvars.h +++ b/perlvars.h @@ -67,7 +67,7 @@ PERLVAR(Gsigfpe_saved, Sighandler_t) PERLVAR(Gsv_placeholder, SV) #ifndef PERL_MICRO -PERLVARI(Gcsighandlerp, Sighandler_t, &Perl_csighandler) /* Pointer to C-level sighandler */ +PERLVARI(Gcsighandlerp, Sighandler_t, Perl_csighandler) /* Pointer to C-level sighandler */ #endif #ifndef PERL_USE_SAFE_PUTENV @@ -124,4 +124,11 @@ PERLVARI(Gop_seq, UV, 0) /* dump.c */ PERLVAR(Gtimesbase, struct tms) #endif +/* allocate a unique index to every module that calls MY_CXT_INIT */ +#ifdef PERL_IMPLICIT_CONTEXT +# ifdef USE_ITHREADS +PERLVAR(Gmy_ctx_mutex, perl_mutex) +# endif +PERLVARI(Gmy_cxt_index, int, 0) +#endif