summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-12-30 12:21:05 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-12-30 12:21:05 +0000
commit016af4f17de049a3804a577bd072125010d0388d (patch)
tree5b966a8b7c241d79810f9572315cb652ca68c08a /perl.c
parent0cea005841294e1c066737aa1ee9f5a7235bc7bc (diff)
downloadperl-016af4f17de049a3804a577bd072125010d0388d.tar.gz
fix errors in new MY_CTX code
p4raw-id: //depot/perl@26535
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 469593b744..b91373a04e 100644
--- a/perl.c
+++ b/perl.c
@@ -159,6 +159,9 @@ S_init_tls_and_interp(PerlInterpreter *my_perl)
OP_REFCNT_INIT;
MUTEX_INIT(&PL_dollarzero_mutex);
# endif
+#ifdef PERL_IMPLICIT_CONTEXT
+ MUTEX_INIT(&PL_my_ctx_mutex);
+# endif
}
else {
PERL_SET_THX(my_perl);