summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-29 12:40:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-29 12:40:28 +0000
commitb236331f293e9a9e7f901f6c58076a249f50b776 (patch)
treec5565911f062bddb5d68139f8aed5d8489d2a488 /perlvars.h
parent1329a5f0e8688b3a144fc3b1fd33a4e9c91f26b2 (diff)
downloadperl-b236331f293e9a9e7f901f6c58076a249f50b776.tar.gz
various fixes for race conditions under threads: mutex locks based
on PL_threadnum were seriously flawed, since it means more than one thread could enter the critical region; PL_na was global instead of thread-local; child thread could finish and free thr structures before Thread->new() got around to creating the Thread object; cv_clone() needed locking, as it mucks with PL_comppad and other global data; new_struct_thread() needed to lock template-thread's mutex while copying its data p4raw-id: //depot/perl@2385
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/perlvars.h b/perlvars.h
index 17924a9154..3860345409 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -73,8 +73,6 @@ PERLVAR(Gnice_chunk_size, U32) /* how nice the chunk of memory is */
PERLVARI(Grunops, runops_proc_t, FUNC_NAME_TO_PTR(RUNOPS_DEFAULT))
PERLVAR(Gtokenbuf[256], char)
-PERLVAR(Gna, STRLEN) /* for use in SvPV when length is
- Not Applicable */
PERLVAR(Gsv_undef, SV)
PERLVAR(Gsv_no, SV)