![]() |
RTEMS 5.2
|
Private Support Information for POSIX Threads. More...
Files | |
| file | psxtransschedparam.c |
| Translate sched_param into SuperCore Terms. | |
| file | pthreadinitthreads.c |
| POSIX Threads Initialize User Threads Body. | |
Data Structures | |
| struct | posix_initialization_threads_table |
Macros | |
| #define | PTHREAD_MINIMUM_STACK_SIZE _POSIX_Threads_Minimum_stack_size |
Functions | |
| void | _POSIX_Threads_Initialize_user_thread (void) |
| System initialization handler to create the first user POSIX thread. | |
| RTEMS_INLINE_ROUTINE void | _POSIX_Threads_Copy_attributes (pthread_attr_t *dst_attr, const pthread_attr_t *src_attr) |
| RTEMS_INLINE_ROUTINE void | _POSIX_Threads_Initialize_attributes (pthread_attr_t *attr) |
| RTEMS_INLINE_ROUTINE void | _POSIX_Threads_Get_sched_param_sporadic (const Thread_Control *the_thread, const Scheduler_Control *scheduler, struct sched_param *param) |
| void | _POSIX_Threads_Sporadic_timer (Watchdog_Control *watchdog) |
| void | _POSIX_Threads_Sporadic_budget_callout (Thread_Control *the_thread) |
| POSIX threads sporadic budget callout. More... | |
| int | _POSIX_Thread_Translate_to_sched_policy (Thread_CPU_budget_algorithms budget_algorithm) |
| int | _POSIX_Thread_Translate_sched_param (int policy, const struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout) |
| Translate sched_param into SuperCore terms. More... | |
| RTEMS_INLINE_ROUTINE Thread_Control * | _POSIX_Threads_Allocate (void) |
| RTEMS_INLINE_ROUTINE void | _POSIX_Threads_Free (Thread_Control *the_pthread) |
Variables | |
| const size_t | _POSIX_Threads_Minimum_stack_size |
| const posix_initialization_threads_table | _POSIX_Threads_User_thread_table |
| Initialization table for the first user POSIX thread. More... | |
| Thread_Information | _POSIX_Threads_Information |
| const pthread_attr_t | _POSIX_Threads_Default_attributes |
Private Support Information for POSIX Threads.
| #define PTHREAD_MINIMUM_STACK_SIZE _POSIX_Threads_Minimum_stack_size |
The following sets the minimum stack size for POSIX threads.
| int _POSIX_Thread_Translate_sched_param | ( | int | policy, |
| const struct sched_param * | param, | ||
| Thread_CPU_budget_algorithms * | budget_algorithm, | ||
| Thread_CPU_budget_algorithm_callout * | budget_callout | ||
| ) |
Translate sched_param into SuperCore terms.
This method translates the POSIX API sched_param into the corresponding SuperCore settings.
| [in] | policy | is the POSIX scheduling policy |
| [in] | param | points to the scheduling parameter structure |
| [in] | budget_algorithm | points to the output CPU Budget algorithm |
| [in] | budget_callout | points to the output CPU Callout |
| 0 | Indicates success. |
| error_code | POSIX error code indicating failure. |
| void _POSIX_Threads_Sporadic_budget_callout | ( | Thread_Control * | the_thread | ) |
POSIX threads sporadic budget callout.
This routine handles the sporadic scheduling algorithm.
| [in] | the_thread | is a pointer to the thread whose budget has been exceeded. |
|
extern |
This variable contains the default POSIX Thread attributes.
|
extern |
The following defines the information control block used to manage this class of objects.
|
extern |
Initialization table for the first user POSIX thread.
This table is used by _POSIX_Threads_Initialize_user_thread() and initialized via <rtems/confdefs.h>.