summaryrefslogtreecommitdiff
path: root/create.c
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 /create.c
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.
Diffstat (limited to 'create.c')
-rw-r--r--create.c3
1 files changed, 3 insertions, 0 deletions
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. */