18 #ifndef _RTEMS_SCORE_APIMUTEX_H 19 #define _RTEMS_SCORE_APIMUTEX_H 118 static inline void _RTEMS_Lock_allocator(
void )
123 static inline void _RTEMS_Unlock_allocator(
void )
128 static inline bool _RTEMS_Allocator_is_owner(
void )
135 static inline void _Once_Lock(
void )
140 static inline void _Once_Unlock(
void )
Constants and Structures Associated with the Object Handler.
void _API_Mutex_Allocate(API_Mutex_Control **mutex)
Allocates an API mutex from the inactive set and returns it in mutex.
Definition: apimutex.c:48
The following defines the Object Control Block used to manage each object local to this node...
Definition: object.h:232
SCORE_EXTERN API_Mutex_Control * _RTEMS_Allocator_Mutex
Memory allocation mutex.
Definition: apimutex.h:116
void _API_Mutex_Lock(API_Mutex_Control *mutex)
Acquires the specified API mutex.
Definition: apimutexlock.c:26
bool previous_thread_life_protection
The thread life protection state before the outer-most mutex obtain.
Definition: apimutex.h:55
void _API_Mutex_Initialization(uint32_t maximum_mutexes)
Initialization for the API Mutexe Handler.
Definition: apimutex.c:28
CORE_mutex_Control Mutex
Contains the SuperCore mutex information.
Definition: apimutex.h:49
Objects_Control Object
Allows each API Mutex to be a full-fledged RTEMS object.
Definition: apimutex.h:44
Control block used to manage each mutex.
Definition: coremutex.h:149
bool _API_Mutex_Is_owner(const API_Mutex_Control *mutex)
Checks if the specified API mutex is owned by the executing thread.
Definition: apimutexisowner.c:23
Control block used to manage each API mutex.
Definition: apimutex.h:40
void _API_Mutex_Unlock(API_Mutex_Control *mutex)
Releases the specified API mutex.
Definition: apimutexunlock.c:25
#define SCORE_EXTERN
The following ensures that all data is declared in the space of the initialization routine for either...
Definition: basedefs.h:81