38#ifndef _RTEMS_SCORE_APIMUTEX_H
39#define _RTEMS_SCORE_APIMUTEX_H
69 struct _Mutex_recursive_Control Mutex;
81#define API_MUTEX_INITIALIZER( name ) \
82 { _MUTEX_RECURSIVE_NAMED_INITIALIZER( name ), 0 }
121void _RTEMS_Lock_allocator(
void );
123void _RTEMS_Unlock_allocator(
void );
125bool _RTEMS_Allocator_is_owner(
void );
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:45
void _API_Mutex_Lock(API_Mutex_Control *mutex)
Acquires the specified API mutex.
Definition: apimutexlock.c:45
void _API_Mutex_Unlock(API_Mutex_Control *mutex)
Releases the specified API mutex.
Definition: apimutexunlock.c:45
unsigned int Thread_Life_state
This type represents the thread life state.
Definition: thread.h:722
This header file provides interfaces of the Thread Handler which are used by the implementation and t...
Control block used to manage each API mutex.
Definition: apimutex.h:65
Thread_Life_state previous_thread_life_state
The thread life protection state before the outer-most mutex obtain.
Definition: apimutex.h:75