diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-19 22:17:07 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-19 22:17:07 +0000 |
commit | 66a9f368cf7f1694f4bf63db4da63e368247fbdd (patch) | |
tree | ce6632db4435b22ae2f82e511a34f76563752e4a /perlvars.h | |
parent | f911d4aaf5e815ff529ac0a0732b2da5c7f95aed (diff) | |
download | perl-66a9f368cf7f1694f4bf63db4da63e368247fbdd.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.h | 7 |
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)) + |