diff options
author | Zefram <zefram@fysh.org> | 2012-02-11 11:05:51 +0000 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2012-02-11 11:05:51 +0000 |
commit | e8570548af49b057631f1011e4b19c8c4a1342dd (patch) | |
tree | 250e8d72a232028036906cd58757ad4f86da886c /perl.c | |
parent | 96a6e6fa4fb95146d6ef6deb911128ac757e1550 (diff) | |
download | perl-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |