33 _Assert( _Thread_State_is_owner( the_thread ) );
37 if ( ( previous_state & state ) != 0 ) {
48 return previous_state;
63 return previous_state;
Inlined Routines Associated with the Manipulation of the Scheduler.
static __inline__ void _Thread_State_release(Thread_Control *the_thread, ISR_lock_Context *lock_context)
Releases the lock context and enables interrupts.
Information for the Assert Handler.
static __inline__ void _Scheduler_Unblock(Thread_Control *the_thread)
Unblocks a thread with respect to the scheduler.
States_Control _Thread_Clear_state(Thread_Control *the_thread, States_Control state)
Clears the specified thread state.
States_Control current_state
static __inline__ bool _States_Is_ready(States_Control the_states)
Checks if the state is ready.
States_Control _Thread_Clear_state_locked(Thread_Control *the_thread, States_Control state)
Clears the specified thread state without locking the lock context.
Inlined Routines from the Thread Handler.
Local ISR lock context for acquire and release pairs.
static __inline__ void _Thread_State_acquire(Thread_Control *the_thread, ISR_lock_Context *lock_context)
Disables interrupts and acquires the lock_context.
#define _Assert(_e)
Assertion similar to assert() controlled via RTEMS_DEBUG instead of NDEBUG.
static __inline__ States_Control _States_Clear(States_Control states_to_clear, States_Control current_state)
Clears the states into the passed current state and returns the result.