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. --- create.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'create.c') 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