From 7147dc43b874271a0d4c14bbbc8ea10d1ed57cef Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 8 Nov 2017 14:37:35 +0100 Subject: 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. --- cpukit/posix/include/rtems/posix/pthreadimpl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/posix/include/rtems/posix/pthreadimpl.h') 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. * -- cgit v1.2.3