diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-14 17:23:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 14:00:28 +0200 |
commit | 6bab009a61ae9ca7f7ac76140f8f13fbaab784c6 (patch) | |
tree | 7f10aaf87cf912151429fb1cfbde65071e804d87 /cpukit/posix/src/pthreadcreate.c | |
parent | posix: Delete POSIX_API_Control::schedpolicy (diff) | |
download | rtems-6bab009a61ae9ca7f7ac76140f8f13fbaab784c6.tar.bz2 |
posix: Delete POSIX_API_Control::schedparam
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 019ccc86a8..c7c233857a 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -111,7 +111,7 @@ int pthread_create( case PTHREAD_INHERIT_SCHED: api = executing->API_Extensions[ THREAD_API_POSIX ]; schedpolicy = api->Attributes.schedpolicy; - schedparam = api->schedparam; + schedparam = api->Attributes.schedparam; break; case PTHREAD_EXPLICIT_SCHED: @@ -226,7 +226,6 @@ int pthread_create( api = the_thread->API_Extensions[ THREAD_API_POSIX ]; _POSIX_Threads_Copy_attributes( &api->Attributes, the_attr ); - api->schedparam = schedparam; if ( schedpolicy == SCHED_SPORADIC ) { _ISR_lock_ISR_disable( &lock_context ); |