RTEMS: cpukit/include/rtems/score/threaddispatch.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions
threaddispatch.h File Reference
Internal » SuperCore » Thread Handler

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.

## Functions
RTEMS_INLINE_ROUTINE bool | _Thread_Dispatch_is_enabled (void)
| Indicates if the executing thread is inside a thread dispatch critical section.
RTEMS_INLINE_ROUTINE uint32_t | _Thread_Dispatch_get_disable_level (void)
| Gets thread dispatch disable level.
RTEMS_INLINE_ROUTINE void | _Thread_Dispatch_initialization (void)
| Thread dispatch initialization.
void | _Thread_Dispatch (void)
| Performs a thread dispatch if necessary.
void | _Thread_Dispatch_direct (Per_CPU_Control *cpu_self)
| Directly do a thread dispatch.
void | _Thread_Do_dispatch (Per_CPU_Control *cpu_self, ISR_Level level)
| Performs a thread dispatch on the current processor.
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.
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).
RTEMS_INLINE_ROUTINE Per_CPU_Control * | _Thread_Dispatch_disable (void)
| Disables thread dispatching.
void | _Thread_Dispatch_enable (Per_CPU_Control *cpu_self)
| Enables thread dispatching.
RTEMS_INLINE_ROUTINE void | _Thread_Dispatch_unnest (Per_CPU_Control *cpu_self)
| Unnests thread dispatching.
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.

## Detailed Description

Constants and Structures Related with Thread Dispatch.