37 executing = _Per_CPU_Get_executing( cpu_self );
void _Thread_Yield(Thread_Control *executing)
Yields the currently executing thread.
static __inline__ void _Thread_Add_timeout_ticks(Thread_Control *the_thread, Per_CPU_Control *cpu, Watchdog_Interval ticks)
Adds timeout ticks to the thread.
void _Thread_Dispatch_direct(Per_CPU_Control *cpu_self)
Directly do a thread dispatch.
Inlined Routines in the Watchdog Handler.
This status code indicates successful completion.
static __inline__ void _Thread_Wait_flags_set(Thread_Control *the_thread, Thread_Wait_flags flags)
Sets the thread's wait flags.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
This header file defines the main parts of the Tasks Manager API.
#define STATES_WAITING_FOR_TIME
This macro corresponds to a task which is waiting for a relative or absolute timeout.
#define THREAD_WAIT_STATE_BLOCKED
Indicates that the thread completed the blocking operation.
States_Control _Thread_Set_state(Thread_Control *the_thread, States_Control state)
Sets the specified thread state.
rtems_status_code rtems_task_wake_after(rtems_interval ticks)
%
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
static __inline__ Per_CPU_Control * _Thread_Dispatch_disable(void)
Disables thread dispatching.
Inlined Routines from the Thread Handler.