summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2012-02-11 11:05:51 +0000
committerZefram <zefram@fysh.org>2012-02-11 11:05:51 +0000
commite8570548af49b057631f1011e4b19c8c4a1342dd (patch)
tree250e8d72a232028036906cd58757ad4f86da886c /perl.c
parent96a6e6fa4fb95146d6ef6deb911128ac757e1550 (diff)
downloadperl-e8570548af49b057631f1011e4b19c8c4a1342dd.tar.gz
add wrap_op_checker() API function
This function provides a convenient and thread-safe way for modules to hook op checking.
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 e8a9c23e2d..f754ac2112 100644
--- a/perl.c
+++ b/perl.c
@@ -105,6 +105,7 @@ S_init_tls_and_interp(PerlInterpreter *my_perl)
ALLOC_THREAD_KEY;
PERL_SET_THX(my_perl);
OP_REFCNT_INIT;
+ OP_CHECK_MUTEX_INIT;
HINTS_REFCNT_INIT;
MUTEX_INIT(&PL_dollarzero_mutex);
MUTEX_INIT(&PL_my_ctx_mutex);