diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-10 17:22:46 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-10 17:22:46 +0000 |
commit | 33f46ff65e5d2230d8bd00503ede2b051af73672 (patch) | |
tree | 816b88f644f5c65e5ca4a4a9dc8846b0b9d11097 /perl.h | |
parent | 3de9ffa12981946cc7fab5bddd19f506a1979bf4 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |