Fixed bug where the initial detachstate was not being set properly

This commit is contained in:
Joel Sherrill
1997-03-10 16:56:08 +00:00
parent 1149658ec0
commit fec60e9272
2 changed files with 2 additions and 2 deletions

View File

@@ -998,7 +998,7 @@ int pthread_create(
api = the_thread->API_Extensions[ THREAD_API_POSIX ];
api->Attributes = *the_attr;
api->detachstate = attr->detachstate;
api->detachstate = the_attr->detachstate;
api->schedpolicy = schedpolicy;
api->schedparam = schedparam;