diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-08 14:37:35 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-09 08:12:11 +0100 |
commit | 7147dc43b874271a0d4c14bbbc8ea10d1ed57cef (patch) | |
tree | 75c26dd9ef681f3558c6f96982e22a22454e2513 /cpukit/posix/include/rtems/posix/pthreadimpl.h | |
parent | sptests/spconsole01: New test (diff) | |
download | rtems-7147dc43b874271a0d4c14bbbc8ea10d1ed57cef.tar.bz2 |
posix: Remove POSIX_API_Control::schedpolicy
Use the thread CPU budget algorithm to determine the scheduler policy.
This fixes also pthread_getschedparam() for Classic tasks.
Update #2514.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/pthreadimpl.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/pthreadimpl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h index 82593d3097..3e2351e57e 100644 --- a/cpukit/posix/include/rtems/posix/pthreadimpl.h +++ b/cpukit/posix/include/rtems/posix/pthreadimpl.h @@ -77,6 +77,10 @@ void _POSIX_Threads_Sporadic_budget_callout( Thread_Control *the_thread ); +int _POSIX_Thread_Translate_to_sched_policy( + Thread_CPU_budget_algorithms budget_algorithm +); + /** * @brief Translate sched_param into SuperCore terms. * |