diff options
author | rpj <rpj> | 2001-07-10 08:38:43 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-07-10 08:38:43 +0000 |
commit | 5865dd7b74b0b23eb178249bfd5a000cc929f147 (patch) | |
tree | 348b5d16177ee0adcd9cfd00c948384facfe4965 /ChangeLog | |
parent | 1d99828acf48bc6d5a81aadc6123e5172dfc355d (diff) |
Untested revamp of barrier.c.
* barrier.c: Still more revamping. The exclusive access
mutex isn't really needed so it has been removed and replaced
by an InterlockedDecrement(). nSerial has been removed.
iStep is now dual-purpose. The process shared attribute
is now stored in the barrier struct.
* implement.h (pthread_barrier_t_): Lost some/gained one
elements.
* private.c (ptw32_threadStart): Removed some comments.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2001-07-10 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
+ * barrier.c: Still more revamping. The exclusive access
+ mutex isn't really needed so it has been removed and replaced
+ by an InterlockedDecrement(). nSerial has been removed.
+ iStep is now dual-purpose. The process shared attribute
+ is now stored in the barrier struct.
+ * implement.h (pthread_barrier_t_): Lost some/gained one
+ elements.
+ * private.c (ptw32_threadStart): Removed some comments.
+
+2001-07-10 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
+
* barrier.c: Revamped to fix the race condition. Two alternating
semaphores are used instead of the PulseEvent. Also improved
overall throughput by returning PTHREAD_BARRIER_SERIAL_THREAD
|