summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-01-19 22:17:07 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-01-19 22:17:07 +0000
commit68795e9367de98482c4a5830e6e94b51bd60f4e3 (patch)
treece6632db4435b22ae2f82e511a34f76563752e4a /perlvars.h
parent92110913508b9944d111285d9488f2f7b604919c (diff)
downloadperl-68795e9367de98482c4a5830e6e94b51bd60f4e3.tar.gz
Nearly-working threads re-structuring. Do not integrate,
submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h7
1 files changed, 5 insertions, 2 deletions
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))
+