From e4f6e6fbec7ea7b7a7c358ed0167672714bf991e Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 23 Jul 1998 17:33:20 +0000 Subject: Fri Jul 24 03:00:25 1998 Ross Johnson * create.c (pthread_create): Ensure values of new attribute members are copied to the thread attribute object. --- ChangeLog | 3 +++ create.c | 3 +++ 2 files changed, 6 insertions(+) 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 + * 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. */ -- cgit v1.2.3