RTEMS CPU Kit with SuperCore  4.11.2
Data Structures | Functions | Variables
apimutex.h File Reference

API Mutex Handler API. More...

#include <rtems/score/coremutex.h>
#include <rtems/score/object.h>
Include dependency graph for apimutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  API_Mutex_Control
 Control block used to manage each API mutex. More...
 

Functions

void _API_Mutex_Initialization (uint32_t maximum_mutexes)
 Initialization for the API Mutexe Handler. More...
 
void _API_Mutex_Allocate (API_Mutex_Control **mutex)
 Allocates an API mutex from the inactive set and returns it in mutex.
 
void _API_Mutex_Lock (API_Mutex_Control *mutex)
 Acquires the specified API mutex. More...
 
void _API_Mutex_Unlock (API_Mutex_Control *mutex)
 Releases the specified API mutex. More...
 
bool _API_Mutex_Is_owner (const API_Mutex_Control *mutex)
 Checks if the specified API mutex is owned by the executing thread. More...
 

Variables

SCORE_EXTERN API_Mutex_Control_RTEMS_Allocator_Mutex
 Memory allocation mutex. More...
 
SCORE_EXTERN API_Mutex_Control_Once_Mutex
 

Detailed Description

API Mutex Handler API.