summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-17 23:43:59 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-17 23:43:59 +0000
commitb363f7ed458679f785ff5f459a6ae701688eb6f5 (patch)
treed1d739a0d522d5a7669690df46c1531ff207ca3e /perlvars.h
parent32e30700cf966bf527dceb0482a205346d2d955f (diff)
downloadperl-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.h4
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