From 52eecbaa089523a4afaef1024225c7bf5181495e Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Wed, 19 Feb 2014 10:36:01 -0600 Subject: posix: Set pthread attribute values in detach and setschedparm methods. --- cpukit/posix/src/pthreaddetach.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/posix/src/pthreaddetach.c') diff --git a/cpukit/posix/src/pthreaddetach.c b/cpukit/posix/src/pthreaddetach.c index 1087a2c592..88fd0e070c 100644 --- a/cpukit/posix/src/pthreaddetach.c +++ b/cpukit/posix/src/pthreaddetach.c @@ -42,6 +42,7 @@ int pthread_detach( api = the_thread->API_Extensions[ THREAD_API_POSIX ]; api->detachstate = PTHREAD_CREATE_DETACHED; + api->Attributes.detachstate = PTHREAD_CREATE_DETACHED; _Objects_Put( &the_thread->Object ); return 0; -- cgit v1.2.3