summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorbje <bje>1998-10-04 21:04:28 +0000
committerbje <bje>1998-10-04 21:04:28 +0000
commitd0aed2a7bfdad688de32a7c4d894590502e6bac4 (patch)
treef101dc214318f924a902a1e81986c6206415cc1a /ChangeLog
parent11b839f08794de0d090811580a09aa6db5b21f2c (diff)
1998-10-05 Ben Elliston <bje@cygnus.com>
* misc.c (pthread_once): Use the POSIX mutex primitives, not Win32. Remove irrelevant FIXME comment. * pthread.h (PTHREAD_ONCE_INIT): Define. * tests/once1.c: New file; test for pthread_once(). Passes.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index aa08366..91c1c68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1998-10-05 Ben Elliston <bje@cygnus.com>
* misc.c (pthread_equal): Correct inverted logic bug.
+ (pthread_once): Use the POSIX mutex primitives, not Win32. Remove
+ irrelevant FIXME comment.
* global.c (PTHREAD_MUTEX_INITIALIZER): Move to pthread.h.
@@ -10,6 +12,7 @@
we call pthread_mutex_create() to initialise the object. This
fixes the problem of how to handle statically initialised objects
that can't call InitializeCriticalSection() due to their context.
+ (PTHREAD_ONCE_INIT): Define.
* mutex.c (pthread_mutex_init): Set valid flag.
(pthread_mutex_destroy): Clear valid flag.
@@ -25,6 +28,8 @@
* tests/equal.c: Poor test; remove.
* tests/equal1.c New file; test pthread_equal(). Passes.
+
+ * tests/once1.c: New file; test for pthread_once(). Passes.
1998-10-04 Ben Elliston <bje@cygnus.com>