18 #ifndef _RTEMS_SCORE_APIMUTEX_H 19 #define _RTEMS_SCORE_APIMUTEX_H 46 struct _Mutex_recursive_Control Mutex;
58 #define API_MUTEX_INITIALIZER( name ) \ 59 { _MUTEX_RECURSIVE_NAMED_INITIALIZER( name ), 0 } 98 void _RTEMS_Lock_allocator(
void );
100 void _RTEMS_Unlock_allocator(
void );
102 bool _RTEMS_Allocator_is_owner(
void );
Thread_Life_state
Thread life states.
bool _API_Mutex_Is_owner(const API_Mutex_Control *mutex)
Checks if the specified API mutex is owned by the executing thread.
void _API_Mutex_Lock(API_Mutex_Control *mutex)
Acquires the specified API mutex.
void _API_Mutex_Unlock(API_Mutex_Control *mutex)
Releases the specified API mutex.
Thread_Life_state previous_thread_life_state
The thread life protection state before the outer-most mutex obtain.
Control block used to manage each API mutex.
Constants and Structures Related with the Thread Control Block.