diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-17 23:43:59 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-17 23:43:59 +0000 |
commit | b363f7ed458679f785ff5f459a6ae701688eb6f5 (patch) | |
tree | d1d739a0d522d5a7669690df46c1531ff207ca3e /perlvars.h | |
parent | 32e30700cf966bf527dceb0482a205346d2d955f (diff) | |
download | perl-b363f7ed458679f785ff5f459a6ae701688eb6f5.tar.gz |
PL_malloc_mutex needs to be global, not per-interpreter
(malloc.c has static data)
p4raw-id: //depot/perl@4403
Diffstat (limited to 'perlvars.h')
-rw-r--r-- | perlvars.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h index 664164dbcd..ecb450e426 100644 --- a/perlvars.h +++ b/perlvars.h @@ -30,3 +30,7 @@ PERLVARIC(Gpatleave, char *, "\\.^$@dDwWsSbB+*?|()-nrtfeaxc0123456789[{]}") /* XXX does anyone even use this? */ PERLVARI(Gdo_undump, bool, FALSE) /* -u or dump seen? */ + +#ifdef MYMALLOC +PERLVAR(Gmalloc_mutex, perl_mutex) /* Mutex for malloc */ +#endif |