summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-07-17 14:30:12 +0000
committerbje <bje>1998-07-17 14:30:12 +0000
commit1d69e3918ebe282b2a9cd20990de706ccde98d7b (patch)
treef579b18fe519d6d1ace50190e3fd61b8c3e81743
parent1bd24490937347b6dd227b6a9c3b1aeb7a3fec4d (diff)
* ChangeLog: Update.
-rw-r--r--ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 28e0914..739a017 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+1998-07-18 Ben Elliston <bje@cygnus.com>
+
+ * condvar.c (pthread_condattr_init): Do not attempt to malloc any
+ storage; none is needed now that condattr_t is an empty struct.
+ (pthread_condattr_destory): Likewise; do not free storage.
+ (pthread_condattr_setpshared): No longer supported; return ENOSYS.
+ (pthread_condattr_getpshared): Likewise.
+ (pthread_cond_init): Implement with help from Douglas Schmidt.
+ Remember to initialise the cv's internal mutex.
+ (pthread_cond_wait): Likewise.
+ (pthread_cond_signal): Likewise.
+ (pthread_cond_broadcast): Likewise.
+ (pthread_cond_timedwait): Preliminary implementation, but I need
+ to see some API documentation for `WaitForMultipleObject'.
+ (pthread_destory): Implement.
+
+ * pthread.h (pthread_cond_init): Add function protoype.
+ (pthread_cond_broadcast): Likewise.
+ (pthread_cond_signal): Likewise.
+ (pthread_cond_timedwait): Likewise.
+ (pthread_cond_wait): Likewise.
+ (pthread_cond_destroy): Likewise.
+ (pthread_cond_t): Define this type. Fix for u_int. Do not assume
+ that the mutex contained withing the pthread_cond_t structure will
+ be a critical section. Use our new POSIX type!
+
+ * implement.h (_pthread_condattr_t): Remove shared attribute.
+
1998-07-17 Ben Elliston <bje@cygnus.com>
* pthread.h (PTHREADS_PROCESS_PRIVATE): Remove.