_LOCK_T Mutex
Mutex datatype, defined in newlib.
Definition: mutex.h:12
_LOCK_RECURSIVE_T RMutex
Recursive mutex datatype, defined in newlib.
Definition: mutex.h:14
void mutexUnlock(Mutex *m)
Unlocks a mutex.
static void mutexInit(Mutex *m)
Initializes a mutex.
Definition: mutex.h:21
bool rmutexTryLock(RMutex *m)
Attempts to lock a recursive mutex without waiting.
bool mutexTryLock(Mutex *m)
Attempts to lock a mutex without waiting.
void mutexLock(Mutex *m)
Locks a mutex.
void rmutexUnlock(RMutex *m)
Unlocks a recursive mutex.
bool mutexIsLockedByCurrentThread(const Mutex *m)
Gets whether the current thread owns the mutex.
void rmutexLock(RMutex *m)
Locks a recursive mutex.
static void rmutexInit(RMutex *m)
Initializes a recursive mutex.
Definition: mutex.h:57
#define INVALID_HANDLE
Invalid handle.
Definition: types.h:96