27 years agoCorrect threads_mutex locking in main thread destruction.
Malcolm Beattie [Thu, 16 Oct 1997 16:26:53 +0000]
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/perlext/Thread@140

27 years agoRemove out-of-date test Thread/cond.t.
Malcolm Beattie [Wed, 15 Oct 1997 17:02:38 +0000]
Remove out-of-date test Thread/cond.t.

p4raw-id: //depot/perlext/Thread@132

27 years agoFinish thread state machine: fixes global destruction of threads,
Malcolm Beattie [Wed, 15 Oct 1997 16:57:45 +0000]
Finish thread state machine: fixes global destruction of threads,
detaching, joining etc. Alter FAKE_THREADS-specific fields to use
new HAVE_THREAD_INTERN stuff. Updates docs. Various fixes to
Thread.xs.

p4raw-id: //depot/perlext/Thread@131

27 years agoStarted rewriting thread state machine.
Malcolm Beattie [Wed, 15 Oct 1997 09:09:24 +0000]
Started rewriting thread state machine.

p4raw-id: //depot/perlext/Thread@125

27 years agoTweak a few Thread tests.
Malcolm Beattie [Fri, 10 Oct 1997 17:23:41 +0000]
Tweak a few Thread tests.

p4raw-id: //depot/perlext/Thread@121

27 years agoRewrite thread destruction system using linked list of threads.
Malcolm Beattie [Fri, 10 Oct 1997 17:22:46 +0000]
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/perlext/Thread@120

27 years agoAdd missing sig_pipe definition to Thread.xs.
Malcolm Beattie [Wed, 8 Oct 1997 15:41:08 +0000]
Add missing sig_pipe definition to Thread.xs.

p4raw-id: //depot/perlext/Thread@116

27 years agoReliable thread signal handling.
Malcolm Beattie [Fri, 3 Oct 1997 11:53:51 +0000]
Reliable thread signal handling.

p4raw-id: //depot/perlext/Thread@102

27 years agoAdded Thread/queue.t.
Malcolm Beattie [Thu, 2 Oct 1997 17:23:48 +0000]
Added Thread/queue.t.

p4raw-id: //depot/perlext/Thread@99

27 years agoUpdate README.threads amd Thread/README
Malcolm Beattie [Thu, 2 Oct 1997 17:07:47 +0000]
Update README.threads amd Thread/README

p4raw-id: //depot/perlext/Thread@97

27 years agoFixed broken typemap for Thread.
Malcolm Beattie [Thu, 2 Oct 1997 16:50:21 +0000]
Fixed broken typemap for Thread.

p4raw-id: //depot/perlext/Thread@95

27 years agostruct thread now stored in an SV and uses '~'-magic for access.
Malcolm Beattie [Mon, 22 Sep 1997 16:02:37 +0000]
struct thread now stored in an SV and uses '~'-magic for access.

p4raw-id: //depot/perlext/Thread@69

27 years agoMove Thread/Semaphore.pm to Thread/Thread/Semaphore.pm
Malcolm Beattie [Wed, 10 Sep 1997 14:49:00 +0000]
Move Thread/Semaphore.pm to Thread/Thread/Semaphore.pm

p4raw-id: //depot/perlext/Thread@63

27 years agoMove Thread/Queue.pm to Thread/Thread/Queue.pm
Malcolm Beattie [Wed, 10 Sep 1997 14:47:31 +0000]
Move Thread/Queue.pm to Thread/Thread/Queue.pm

p4raw-id: //depot/perlext/Thread@62

27 years agoAdd Thread modules Queue.pm and Semaphore.pm
Malcolm Beattie [Tue, 9 Sep 1997 16:49:08 +0000]
Add Thread modules Queue.pm and Semaphore.pm

p4raw-id: //depot/perlext/Thread@59

27 years agoAdd debug info to Thread typemap.
Malcolm Beattie [Tue, 9 Sep 1997 16:26:47 +0000]
Add debug info to Thread typemap.

p4raw-id: //depot/perlext/Thread@57

27 years agoRewrite synchronisation of subs/methods and add attrs
Malcolm Beattie [Tue, 9 Sep 1997 15:04:26 +0000]
Rewrite synchronisation of subs/methods and add attrs
extension for specifying 'locked' and 'method' attributes.

p4raw-id: //depot/perlext/Thread@56

27 years agoAssorted changes for multi-threading (now works rather more).
Malcolm Beattie [Mon, 11 Aug 1997 15:46:29 +0000]
Assorted changes for multi-threading (now works rather more).

p4raw-id: //depot/perlext/Thread@44

27 years agoStart support for fake threads.
Malcolm Beattie [Thu, 24 Jul 1997 14:57:53 +0000]
Start support for fake threads.
pp_lock now returns its argument.

p4raw-id: //depot/perlext/Thread@41

27 years agoTweak README.
Malcolm Beattie [Thu, 12 Jun 1997 12:38:05 +0000]
Tweak README.

p4raw-id: //depot/perlext/Thread@30

27 years agoRewrote programmer-level condition variables from scratch. Added
Malcolm Beattie [Wed, 23 Apr 1997 19:04:18 +0000]
Rewrote programmer-level condition variables from scratch. Added
support for detaching threads. Fixed handling for arguments
passed in to threads and return values for joined threads.

p4raw-id: //depot/perlext/Thread@7

27 years agoInitial check-in of Thread module.
Malcolm Beattie [Thu, 10 Apr 1997 20:17:26 +0000]
Initial check-in of Thread module.

p4raw-id: //depot/perlext/Thread@6