summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>1998-07-23 17:33:20 +0000
committerrpj <rpj>1998-07-23 17:33:20 +0000
commite4f6e6fbec7ea7b7a7c358ed0167672714bf991e (patch)
treec5f63002668093870eb087116654f734a36bd490
parent63ed0e78ffb72a9f425928344355c2159830b5af (diff)
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.
-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. */