19 #ifndef _RTEMS_POSIX_PTHREADIMPL_H 20 #define _RTEMS_POSIX_PTHREADIMPL_H 42 #define PTHREAD_MINIMUM_STACK_SIZE _POSIX_Threads_Minimum_stack_size 44 #if defined(RTEMS_POSIX_API) 47 POSIX_API_Control *api
75 int _POSIX_Thread_Translate_to_sched_policy(
95 const struct sched_param *param,
RTEMS_INLINE_ROUTINE Objects_Control * _Objects_Allocate_unprotected(Objects_Information *information)
Allocates an object without locking the allocator mutex.
Definition: objectimpl.h:874
uint32_t _Timespec_To_ticks(const struct timespec *time)
Converts timespec to number of ticks.
Definition: timespectoticks.c:27
void _Thread_Kill_zombies(void)
Kills all zombie threads in the system.
Definition: threadrestart.c:216
Inlined Routines in the Watchdog Handler.
The control block used to manage each watchdog timer.
Definition: watchdog.h:90
POSIX Threads Private Support.
POSIX Thread API Support.
Information for the Assert Handler.
Objects_Control Object
Definition: thread.h:734
void _POSIX_Threads_Sporadic_budget_callout(Thread_Control *the_thread)
POSIX threads sporadic budget callout.
Thread_CPU_budget_algorithms
Definition: thread.h:164
RTEMS_INLINE_ROUTINE void _Objects_Free(Objects_Information *information, Objects_Control *the_object)
Frees an object.
Definition: objectimpl.h:930
Thread_Information _POSIX_Threads_Information
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.
Definition: psxtransschedparam.c:44
void(* Thread_CPU_budget_algorithm_callout)(Thread_Control *)
Definition: thread.h:178
Inlined Routines from the Thread Handler.
Contains Helpers for Manipulating Timespecs.
RTEMS_INLINE_ROUTINE void _Objects_Allocator_lock(void)
Locks the object allocator mutex.
Definition: objectimpl.h:831
Inlined Routines in the Object Handler.
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Per_CPU_insert_ticks(Watchdog_Control *the_watchdog, Per_CPU_Control *cpu, Watchdog_Interval ticks)
Sets the watchdog's cpu to the given instance and sets its expiration time to the watchdog expiration...
Definition: watchdogimpl.h:593
uint32_t cpu_time_budget
Definition: thread.h:816