RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
threaddispatch.h File Reference
#include <rtems/score/percpu.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/profiling.h>
Include dependency graph for threaddispatch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __THREAD_DO_NOT_INLINE_ENABLE_DISPATCH__
 Constants and Structures Related with Thread Dispatch.
 

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...
 
RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level (void)
 Increase thread dispatch disable level. More...
 
RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level (void)
 Decrease thread dispatch disable level. More...
 
RTEMS_INLINE_ROUTINE void _Giant_Acquire (Per_CPU_Control *cpu_self)
 
RTEMS_INLINE_ROUTINE void _Giant_Release (Per_CPU_Control *cpu_self)
 
void _Thread_Dispatch (void)
 Performs a thread dispatch if necessary. 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_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...
 
RTEMS_INLINE_ROUTINE void _Thread_Dispatch_enable (Per_CPU_Control *cpu_self)
 Enables thread dispatching. More...
 
RTEMS_INLINE_ROUTINE void _Thread_Disable_dispatch (void)
 Disables thread dispatching and acquires the Giant lock.
 
RTEMS_INLINE_ROUTINE void _Thread_Enable_dispatch_body (void)
 
void _Thread_Enable_dispatch (void)
 Enables thread dispatching and releases the Giant lock. More...
 
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch (void)
 Enables thread dispatching and releases the Giant lock. More...