88 #ifndef LEGATO_MUTEX_INCLUDE_GUARD 89 #define LEGATO_MUTEX_INCLUDE_GUARD 199 #define LE_MUTEX_DECLARE_REF(refName) \ 200 static le_mutex_Ref_t refName; \ 201 static inline void Lock(void) { le_mutex_Lock(refName); } \ 202 static inline void Unlock(void) { le_mutex_Unlock(refName); } le_result_t
Definition: le_basics.h:35
struct le_mutex * le_mutex_Ref_t
Definition: le_mutex.h:96
le_mutex_Ref_t le_mutex_CreateRecursive(const char *nameStr)
void le_mutex_Lock(le_mutex_Ref_t mutexRef)
le_result_t le_mutex_TryLock(le_mutex_Ref_t mutexRef)
le_mutex_Ref_t le_mutex_CreateNonRecursive(const char *nameStr)
void le_mutex_Delete(le_mutex_Ref_t mutexRef)
void le_mutex_Unlock(le_mutex_Ref_t mutexRef)