summaryrefslogtreecommitdiff
path: root/perl.c
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 /perl.c
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 'perl.c')
-rw-r--r--perl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index e69cc9ca1f..bd667eee7b 100644
--- a/perl.c
+++ b/perl.c
@@ -148,6 +148,7 @@ S_init_tls_and_interp(PerlInterpreter *my_perl)
ALLOC_THREAD_KEY;
PERL_SET_THX(my_perl);
OP_REFCNT_INIT;
+ HINTS_REFCNT_INIT;
MUTEX_INIT(&PL_dollarzero_mutex);
# endif
#ifdef PERL_IMPLICIT_CONTEXT