155 #ifndef LEGATO_MUTEX_INCLUDE_GUARD
156 #define LEGATO_MUTEX_INCLUDE_GUARD
294 #define LE_MUTEX_DECLARE_REF(refName) \
295 static le_mutex_Ref_t refName; \
296 static inline void Lock(void) { le_mutex_Lock(refName); } \
297 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:163
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_CreateTraceableNonRecursive(const char *nameStr)
le_mutex_Ref_t le_mutex_CreateNonRecursive(const char *nameStr)
le_mutex_Ref_t le_mutex_CreateTraceableRecursive(const char *nameStr)
void le_mutex_Delete(le_mutex_Ref_t mutexRef)
void le_mutex_Unlock(le_mutex_Ref_t mutexRef)