47 #ifndef ti_osal_MutexP__include 48 #define ti_osal_MutexP__include 71 #define MutexP_FAILURE (-(int32_t)1) 73 #define MutexP_TIMEOUT (-(int32_t)2) 79 #define MutexP_WAIT_FOREVER (~((uint32_t)0U)) 84 #define MutexP_NO_WAIT ((uint32_t)0U) 101 typedef struct MutexP_Object_s {
uintptr_t key
Definition: MutexP.h:103
MutexP_Handle MutexP_create(MutexP_Object *mutexObj)
Function to create a mutex.
MutexP_Status MutexP_lock(MutexP_Handle handle, uint32_t timeout)
Function to lock the mutex.
MutexP Mutex Object.
Definition: MutexP.h:101
void * MutexP_Handle
Opaque client reference to an instance of a MutexP.
Definition: MutexP.h:93
int32_t MutexP_Status
This enumerator defines the Status codes for MutexP APIs.
Definition: MutexP.h:67
MutexP_Status MutexP_unlock(MutexP_Handle handle)
Function to unlock the mutex.
MutexP_Status MutexP_delete(MutexP_Handle handle)
Function to delete a mutex.
void * object
Definition: MutexP.h:102