RTEMS  5.1
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

RTEMS_INLINE_ROUTINE bool _Thread_Dispatch_is_enabled (void)
 Indicates if the executing thread is inside a thread dispatch critical section. More...
 
RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_get_disable_level (void)
 Gets thread dispatch disable level. More...
 
RTEMS_INLINE_ROUTINE 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...
 
RTEMS_INLINE_ROUTINE 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...
 
RTEMS_INLINE_ROUTINE Per_CPU_Control_Thread_Dispatch_disable_critical (const ISR_lock_Context *lock_context)
 Disables thread dispatching inside a critical section (interrupts disabled). More...
 
RTEMS_INLINE_ROUTINE Per_CPU_Control_Thread_Dispatch_disable (void)
 Disables thread dispatching. More...
 
void _Thread_Dispatch_enable (Per_CPU_Control *cpu_self)
 Enables thread dispatching. More...
 
RTEMS_INLINE_ROUTINE void _Thread_Dispatch_unnest (Per_CPU_Control *cpu_self)
 Unnests thread dispatching. More...
 
RTEMS_INLINE_ROUTINE 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.