summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-10 17:22:46 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-10-10 17:22:46 +0000
commit33f46ff65e5d2230d8bd00503ede2b051af73672 (patch)
tree816b88f644f5c65e5ca4a4a9dc8846b0b9d11097 /perl.h
parent3de9ffa12981946cc7fab5bddd19f506a1979bf4 (diff)
downloadperl-33f46ff65e5d2230d8bd00503ede2b051af73672.tar.gz
Rewrite thread destruction system using linked list of threads.
Still not completely done. Add methods self, equal, flags, list to Thread.xs. Add Thread_MAGIC_SIGNATURE check to typemap. p4raw-id: //depot/perl@120
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 99a027c0ce..6af9ff88a4 100644
--- a/perl.h
+++ b/perl.h
@@ -1347,7 +1347,7 @@ EXT perl_mutex eval_mutex; /* Mutex for doeval */
EXT perl_cond eval_cond; /* Condition variable for doeval */
EXT struct thread * eval_owner; /* Owner thread for doeval */
EXT int nthreads; /* Number of threads currently */
-EXT perl_mutex nthreads_mutex; /* Mutex for nthreads */
+EXT perl_mutex threads_mutex; /* Mutex for nthreads and thread list */
EXT perl_cond nthreads_cond; /* Condition variable for nthreads */
#ifdef FAKE_THREADS
EXT struct thread * thr; /* Currently executing (fake) thread */