diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-16 16:26:53 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-16 16:26:53 +0000 |
commit | 8023c3ceb7a7110c55b3159dff471253f72f7e15 (patch) | |
tree | ee70aca385b7dddd1911486a6791aae09ad09b3b /thread.h | |
parent | 1f2bfc8a4408af651fa6e1f274db91de216cc5d4 (diff) | |
download | perl-8023c3ceb7a7110c55b3159dff471253f72f7e15.tar.gz |
Correct threads_mutex locking in main thread destruction.
Add per-interp thrsv to hold SV struct thread for main thread.
Move Thread.xs MUTEX_DESTROY from end of threadstart to remove_thread.
Add Thread/list.t test of Thread->list method.
Let Thread::Semaphore methods up and down take an extra argument.
p4raw-id: //depot/perl@140
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -175,6 +175,7 @@ struct thread { #ifdef ADD_THREAD_INTERN struct thread_intern i; /* Platform-dependent internals */ #endif + char trailing_nul; /* For the sake of thrsv, t->Toursv */ }; typedef struct thread *Thread; |