RTEMS 6.1-rc6
|
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. | |
void | _POSIX_Threads_Sporadic_timer (Watchdog_Control *watchdog) |
int | _POSIX_Thread_Translate_to_sched_policy (const Thread_CPU_budget_operations *operations) |
int | _POSIX_Thread_Translate_sched_param (int policy, const struct sched_param *param, Thread_Configuration *config) |
Translates the POSIX scheduling policy and parameters to parts of the thread configuration. | |
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. | |
Thread_Information | _POSIX_Threads_Information |
const pthread_attr_t | _POSIX_Threads_Default_attributes |
const Thread_CPU_budget_operations | _POSIX_Threads_Sporadic_budget |
The POSIX threads sporadic budget operations. | |
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_Configuration * | config | ||
) |
Translates the POSIX scheduling policy and parameters to parts of the thread configuration.
policy | is the POSIX scheduling policy. | |
param | is the pointer to the POSIX scheduling parameters. | |
[out] | config | is the pointer to a thread configuration to set the budget algorithm, callout, and CPU time budget. |
0 | The operation was successful. |
EINVAL | The POSIX scheduling policy or parameters were invalid. |
|
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>.