summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--create.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 597820c..102ef6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
Fri Jul 24 03:00:25 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
+ * create.c (pthread_create): Ensure values of new attribute members
+ are copied to the thread attribute object.
+
* attr.c (pthread_attr_destroy): Fix merge conflicts.
(pthread_attr_getdetachstate): Fix merge conflicts.
(pthread_attr_setdetachstate): Fix merge conflicts.
diff --git a/create.c b/create.c
index b4a6c99..498f649 100644
--- a/create.c
+++ b/create.c
@@ -64,6 +64,9 @@ pthread_create(pthread_t *thread,
}
attr_copy->cancelability = attr->cancelability;
+ attr_copy->canceltype = attr->canceltype;
+ attr_copy->detached = attr->detached;
+ attr_copy->priority = attr->priority;
}
/* Start running, not suspended. */