diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-14 17:21:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 14:00:28 +0200 |
commit | 4dc5450eebc1d863ea31f4b5e00fb7a9b67972e8 (patch) | |
tree | a2f4c401f9d5ecbc6bbbf858e7d04c0692100fea /cpukit/posix/src/pthreadcreate.c | |
parent | posix: Delete POSIX_API_Control::ss_high_priority (diff) | |
download | rtems-4dc5450eebc1d863ea31f4b5e00fb7a9b67972e8.tar.bz2 |
posix: Delete POSIX_API_Control::schedpolicy
This field was redundant.
Diffstat (limited to 'cpukit/posix/src/pthreadcreate.c')
-rw-r--r-- | cpukit/posix/src/pthreadcreate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index a120fdda8d..019ccc86a8 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -110,7 +110,7 @@ int pthread_create( switch ( the_attr->inheritsched ) { case PTHREAD_INHERIT_SCHED: api = executing->API_Extensions[ THREAD_API_POSIX ]; - schedpolicy = api->schedpolicy; + schedpolicy = api->Attributes.schedpolicy; schedparam = api->schedparam; break; @@ -226,7 +226,6 @@ int pthread_create( api = the_thread->API_Extensions[ THREAD_API_POSIX ]; _POSIX_Threads_Copy_attributes( &api->Attributes, the_attr ); - api->schedpolicy = schedpolicy; api->schedparam = schedparam; if ( schedpolicy == SCHED_SPORADIC ) { |