summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-11 13:47:05 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-11 13:47:05 +0000
commit71ad1b0c3807f6097c8da083d9dcbd8c03af5f43 (patch)
tree12c9b0a815e473eaaa9934f5faacba27b9447e30 /perlvars.h
parentd39614506f118e8a474f0a8c4b7f7cd7e0e74f51 (diff)
downloadperl-71ad1b0c3807f6097c8da083d9dcbd8c03af5f43.tar.gz
Need to migrate the refcounted_he structure to be properly shared.
Add a mutex for manipulated their reference counts. Unwrap the structure, so that for ithreads it can store SVs in pads. p4raw-id: //depot/perl@27764
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 67ee5fd511..b4f3e51319 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -134,3 +134,7 @@ PERLVAR(Gmy_ctx_mutex, perl_mutex)
# endif
PERLVARI(Gmy_cxt_index, int, 0)
#endif
+
+#if defined(USE_ITHREADS)
+PERLVAR(Ghints_mutex, perl_mutex) /* Mutex for refcounted he refcounting */
+#endif