X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlvars.h;h=67ee5fd511deef11dc0faefba318a7cee4eb56e8;hb=06dc7ac6fa597f9446b4a27a32d667bbcbde0453;hp=9f3a399161d2ed64da6cd9b52ea9fe5096f641d9;hpb=1c127fab650cf6427045f36d9e941565f5163fda;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlvars.h b/perlvars.h index 9f3a399..67ee5fd 100644 --- a/perlvars.h +++ b/perlvars.h @@ -1,6 +1,7 @@ /* perlvars.h * - * Copyright (C) 1999, 2000, 2001, 2002, by Larry Wall and others + * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + * by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -75,7 +76,8 @@ PERLVARI(Guse_safe_putenv, int, 1) #endif #ifdef USE_PERLIO -PERLVARA(Gperlio_fd_refcnt, 2048, int) /* PERLIO_MAX_REFCOUNTABLE_FD */ +PERLVARI(Gperlio_fd_refcnt, int*, 0) /* Pointer to array of fd refcounts. */ +PERLVARI(Gperlio_fd_refcnt_size, int, 0) /* Size of the array */ PERLVARI(Gperlio_debug_fd, int, 0) /* the fd to write perlio debug into, 0 means not set yet */ #endif @@ -124,4 +126,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