38#ifndef _RTEMS_POSIX_PTHREADATTRIMPL_H
39#define _RTEMS_POSIX_PTHREADATTRIMPL_H
63static inline void _POSIX_Threads_Copy_attributes(
64 pthread_attr_t *dst_attr,
65 const pthread_attr_t *src_attr
68 *dst_attr = *src_attr;
70 dst_attr->affinitysetsize ==
sizeof(dst_attr->affinitysetpreallocated)
72 dst_attr->affinityset = &dst_attr->affinitysetpreallocated;
75static inline void _POSIX_Threads_Initialize_attributes(
79 _POSIX_Threads_Copy_attributes(
85static inline void _POSIX_Threads_Get_sched_param_sporadic(
88 struct sched_param *param
91#if defined(RTEMS_POSIX_API)
92 const POSIX_API_Control *api;
97 api->Sporadic.Low_priority.priority
99 param->sched_ss_repl_period = api->Sporadic.sched_ss_repl_period;
100 param->sched_ss_init_budget = api->Sporadic.sched_ss_init_budget;
101 param->sched_ss_max_repl = api->Sporadic.sched_ss_max_repl;
This header file provides the interfaces of the Assert Handler.
This header file provides basic definitions used by the API and the implementation.
int _POSIX_Priority_From_core(const Scheduler_Control *scheduler, Priority_Control priority)
Converts the SuperCore priority to the corresponding POSIX API priority.
Definition: psxpriorityisvalid.c:61
const pthread_attr_t _POSIX_Threads_Default_attributes
Definition: pthreadattrdefault.c:49
#define _Assert(_e)
Assertion similar to assert() controlled via RTEMS_DEBUG instead of NDEBUG and static analysis runs.
Definition: assert.h:96
@ THREAD_API_POSIX
Definition: thread.h:631
POSIX Threads Private Support.
Scheduler control.
Definition: scheduler.h:335
void * API_Extensions[THREAD_API_LAST+1]
Definition: thread.h:938
POSIX Thread API Support.