RTEMS
Macros | Functions
statesimpl.h File Reference

Inlined Routines Associated with Thread State Information. More...

#include <rtems/score/states.h>
#include <rtems/score/basedefs.h>

Go to the source code of this file.

Macros

#define STATES_READY   0x00000000
 
#define STATES_WAITING_FOR_MUTEX   0x00000001
 
#define STATES_WAITING_FOR_SEMAPHORE   0x00000002
 
#define STATES_WAITING_FOR_EVENT   0x00000004
 
#define STATES_WAITING_FOR_SYSTEM_EVENT   0x00000008
 
#define STATES_WAITING_FOR_MESSAGE   0x00000010
 
#define STATES_WAITING_FOR_CONDITION_VARIABLE   0x00000020
 
#define STATES_WAITING_FOR_FUTEX   0x00000040
 
#define STATES_WAITING_FOR_BSD_WAKEUP   0x00000080
 
#define STATES_WAITING_FOR_TIME   0x00000100
 This macro corresponds to a task which is waiting for a relative or absolute timeout.
 
#define STATES_WAITING_FOR_PERIOD   0x00000200
 
#define STATES_WAITING_FOR_SIGNAL   0x00000400
 
#define STATES_WAITING_FOR_BARRIER   0x00000800
 
#define STATES_WAITING_FOR_RWLOCK   0x00001000
 
#define STATES_WAITING_FOR_JOIN_AT_EXIT   0x00002000
 
#define STATES_WAITING_FOR_JOIN   0x00004000
 
#define STATES_SUSPENDED   0x00008000
 
#define STATES_WAITING_FOR_SEGMENT   0x00010000
 
#define STATES_LIFE_IS_CHANGING   0x00020000
 
#define STATES_DEBUGGER   0x08000000
 
#define STATES_INTERRUPTIBLE_BY_SIGNAL   0x10000000
 
#define STATES_WAITING_FOR_RPC_REPLY   0x20000000
 
#define STATES_ZOMBIE   0x40000000
 
#define STATES_DORMANT   0x80000000
 
#define STATES_LOCALLY_BLOCKED
 
#define STATES_BLOCKED
 
#define STATES_ALL_SET   0xffffffff
 

Functions

static __inline__ States_Control _States_Set (States_Control states_to_set, States_Control current_state)
 Returns the result of setting the states to set to the given state. More...
 
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. More...
 
static __inline__ bool _States_Is_ready (States_Control the_states)
 Checks if the state is ready. More...
 
static __inline__ bool _States_Is_dormant (States_Control the_states)
 Checks if DORMANT state is set. More...
 
static __inline__ bool _States_Is_suspended (States_Control the_states)
 Checks if SUSPENDED state is set. More...
 
static __inline__ bool _States_Is_waiting_for_rpc_reply (States_Control the_states)
 Checks if WAITING_FOR_TIME state is set. More...
 
static __inline__ bool _States_Is_waiting_for_join_at_exit (States_Control the_states)
 Checks if WAITING_FOR_JOIN_AT_EXIT state is set. More...
 
static __inline__ bool _States_Is_interruptible_by_signal (States_Control the_states)
 Checks if the state is set to be interruptible. More...
 
static __inline__ bool _States_Is_locally_blocked (States_Control the_states)
 Checks if the state is blocked waiting on a local resource. More...
 

Detailed Description

Inlined Routines Associated with Thread State Information.

This file contains the static inline implementation of the inlined routines associated with thread state information.

Definition in file statesimpl.h.