156 #ifndef LEGATO_MUTEX_INCLUDE_GUARD
157 #define LEGATO_MUTEX_INCLUDE_GUARD
295 #define LE_MUTEX_DECLARE_REF(refName) \
296 static le_mutex_Ref_t refName; \
297 static inline void Lock(void) { le_mutex_Lock(refName); } \
298 static inline void Unlock(void) { le_mutex_Unlock(refName); }
le_result_t
Definition: le_basics.h:34
struct le_mutex * le_mutex_Ref_t
Definition: le_mutex.h:164
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)