diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-11 13:47:05 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-11 13:47:05 +0000 |
commit | 71ad1b0c3807f6097c8da083d9dcbd8c03af5f43 (patch) | |
tree | 12c9b0a815e473eaaa9934f5faacba27b9447e30 /perl.c | |
parent | d39614506f118e8a474f0a8c4b7f7cd7e0e74f51 (diff) | |
download | perl-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |