summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-08 12:08:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-08 12:08:17 +0000
commit534825c439e9bf017f3cdaf88d284d58d5eac6bd (patch)
tree1884c58f0eef7d68e5cd924efde5a05d8c8b6e0b /perlvars.h
parente23b9d0f648442d8e275530c0bf8b0027cee41d1 (diff)
downloadperl-534825c439e9bf017f3cdaf88d284d58d5eac6bd.tar.gz
add missing locks for op refcounts
p4raw-id: //depot/perl@5610
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 4df31bb4a0..bd07adc59f 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -34,3 +34,7 @@ PERLVARI(Gdo_undump, bool, FALSE) /* -u or dump seen? */
#if defined(MYMALLOC) && (defined(USE_THREADS) || defined(USE_ITHREADS))
PERLVAR(Gmalloc_mutex, perl_mutex) /* Mutex for malloc */
#endif
+
+#if defined(USE_ITHREADS)
+PERLVAR(Gop_mutex, perl_mutex) /* Mutex for op refcounting */
+#endif