Searched refs:UNINIT_VALUE (Results 1 – 2 of 2) sorted by relevance
42 #define UNINIT_VALUE 0xFFFFFFFF macro51 #define DECLARE_MUTEX(x) struct semaphore x = { (LosSemCB *)UNINIT_VALUE, 1 }52 #define DECLARE_MUTEX_LOCKED(x) struct semaphore x = { (LosSemCB *)UNINIT_VALUE, 0 }
66 if ((UINTPTR)sem->sem == UNINIT_VALUE) { in _sema_lock()119 if ((UINTPTR)sem->sem == UNINIT_VALUE) { in _sema_destory()