dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_mutex.c File Reference
#include <pthread.h>
#include <stdlib.h>
#include <pios.h>
#include <pios_mutex.h>

Go to the source code of this file.

Data Structures

struct  pios_mutex
 
struct  pios_recursive_mutex
 

Functions

struct pios_mutexPIOS_Mutex_Create (void)
 
bool PIOS_Mutex_Lock (struct pios_mutex *mtx, uint32_t timeout_ms)
 
bool PIOS_Mutex_Unlock (struct pios_mutex *mtx)
 
struct pios_recursive_mutexPIOS_Recursive_Mutex_Create (void)
 
bool PIOS_Recursive_Mutex_Lock (struct pios_recursive_mutex *mtx, uint32_t timeout_ms)
 
bool PIOS_Recursive_Mutex_Unlock (struct pios_recursive_mutex *mtx)