RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
apimutex.h File Reference

This header file provides the interfaces of the API Mutex Handler. More...

#include <rtems/score/thread.h>
#include <sys/lock.h>

Go to the source code of this file.

Data Structures

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

Macros

#define API_MUTEX_INITIALIZER(name)    { _MUTEX_RECURSIVE_NAMED_INITIALIZER( name ), 0 }
 Statically initialize an API mutex.
 

Functions

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.
 
bool _API_Mutex_Is_owner (const API_Mutex_Control *mutex)
 Checks if the specified API mutex is owned by the executing thread.
 
void _RTEMS_Lock_allocator (void)
 
void _RTEMS_Unlock_allocator (void)
 
bool _RTEMS_Allocator_is_owner (void)
 

Detailed Description

This header file provides the interfaces of the API Mutex Handler.