From 8bc6bf28aa098a03c25763e3c59274874bfbe3da Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 11 May 2016 13:42:58 +0200 Subject: posix: Avoid Giant lock for some pthread functions Avoid Giant lock for pthread_getattr_np(), pthread_setschedparam() and pthread_getschedparam(). Replace POSIX threads scheduler lock with thread state lock. Update #2555. --- cpukit/score/include/rtems/score/thread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 18e0f5429b..b8e0e00ae1 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -719,7 +719,12 @@ struct _Thread_Control { * the following fields * * - POSIX_API_Control::Attributes, + * - POSIX_API_Control::schedparam, + * - POSIX_API_Control::schedpolicy, * - RTEMS_API_Control::Signal, + * - Thread_Control::budget_algorithm, + * - Thread_Control::budget_callout, + * - Thread_Control::cpu_time_budget, * - Thread_Control::current_state, * - Thread_Control::Post_switch_actions, * - Thread_Control::Scheduler::control, and -- cgit v1.2.3