From 68795e9367de98482c4a5830e6e94b51bd60f4e3 Mon Sep 17 00:00:00 2001 From: Nick Ing-Simmons Date: Sat, 19 Jan 2002 22:17:07 +0000 Subject: Nearly-working threads re-structuring. Do not integrate, submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352 --- perlvars.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'perlvars.h') diff --git a/perlvars.h b/perlvars.h index 606f7a5243..8cff1657dc 100644 --- a/perlvars.h +++ b/perlvars.h @@ -37,11 +37,14 @@ PERLVAR(Gmalloc_mutex, perl_mutex) /* Mutex for malloc */ #if defined(USE_ITHREADS) PERLVAR(Gop_mutex, perl_mutex) /* Mutex for op refcounting */ -PERLVAR(Gsharedsv_space, PerlInterpreter*) /* The shared sv space */ -PERLVAR(Gsharedsv_space_mutex, perl_mutex) /* Mutex protecting the shared sv space */ #endif /* Force inclusion of both runops options */ PERLVARI(Grunops_std, runops_proc_t, MEMBER_TO_FPTR(Perl_runops_standard)) PERLVARI(Grunops_dbg, runops_proc_t, MEMBER_TO_FPTR(Perl_runops_debug)) +/* Hooks to shared SVs and locks. */ +PERLVARI(Gsharehook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nosharing)) +PERLVARI(Glockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nolocking)) +PERLVARI(Gunlockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nounlocking)) + -- cgit v1.2.1