summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-07-23 15:56:26 +0000
committerbje <bje>1998-07-23 15:56:26 +0000
commitd7fdf758237b40486e68774593c263fc6aa822f8 (patch)
treed23f8cd3cd9041418d7b31fb85fd2a3da1a80467
parent9ec36039c82951d6a097b1a028bc8216033eb7e4 (diff)
* ChangeLog: Update.
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9e52e5d..14d1151 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,17 @@
1998-07-24 Ben Elliston <bje@cygnus.com>
+ * pthread.h (PTHREAD_CREATE_JOINABLE): Define.
+ (PTHREAD_CREATE_DETACHED): Likewise.
+ (pthread_attr_t): Add new structure member `detached'.
+ (pthread_attr_getdetachstate): Add function prototype.
+ (pthread_attr_setdetachstate): Likewise.
+
+ * sync.c (pthread_join): Return if the target thread is detached.
+
* attr.c (pthread_attr_init): Initialise cancelability and
canceltype structure members.
+ (pthread_attr_getdetachstate): Implement.
+ (pthread_attr_setdetachstate): Likewise.
* implement.h (_PTHREAD_CANCEL_DEFAULTS): Remove. Bit fields
proved to be too cumbersome. Set the defaults in attr.c using the