RTEMS
Macros | Functions
threaddispatch.h File Reference

Constants and Structures Related with Thread Dispatch. More...

#include <rtems/score/percpu.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/profiling.h>

Go to the source code of this file.

Macros

#define RTEMS_SCORE_ROBUST_THREAD_DISPATCH
 Enables a robust thread dispatch. More...
 

Functions

static __inline__ bool _Thread_Dispatch_is_enabled (void)
 Indicates if the executing thread is inside a thread dispatch critical section. More...
 
static __inline__ uint32_t _Thread_Dispatch_get_disable_level (void)
 Gets thread dispatch disable level. More...
 
static __inline__ void _Thread_Dispatch_initialization (void)
 Thread dispatch initialization. More...
 
void _Thread_Dispatch (void)
 Performs a thread dispatch if necessary. More...
 
void _Thread_Dispatch_direct (Per_CPU_Control *cpu_self)
 Directly do a thread dispatch. More...
 
void _Thread_Do_dispatch (Per_CPU_Control *cpu_self, ISR_Level level)
 Performs a thread dispatch on the current processor. More...
 
static __inline__ Per_CPU_Control_Thread_Dispatch_disable_with_CPU (Per_CPU_Control *cpu_self, const ISR_lock_Context *lock_context)
 Disables thread dispatching inside a critical section (interrupts disabled) with the current processor. More...
 
static __inline__ Per_CPU_Control_Thread_Dispatch_disable_critical (const ISR_lock_Context *lock_context)
 Disables thread dispatching inside a critical section (interrupts disabled). More...
 
static __inline__ Per_CPU_Control_Thread_Dispatch_disable (void)
 Disables thread dispatching. More...
 
void _Thread_Dispatch_enable (Per_CPU_Control *cpu_self)
 Enables thread dispatching. More...
 
static __inline__ void _Thread_Dispatch_unnest (Per_CPU_Control *cpu_self)
 Unnests thread dispatching. More...
 
static __inline__ void _Thread_Dispatch_request (Per_CPU_Control *cpu_self, Per_CPU_Control *cpu_target)
 Requests a thread dispatch on the target processor. More...
 

Detailed Description

Constants and Structures Related with Thread Dispatch.

Definition in file threaddispatch.h.