Searched refs:hevent (Results 1 – 1 of 1) sorted by relevance
15 HANDLE hevent ; member24 mutex->hevent = CreateEvent(NULL, FALSE, FALSE, NULL) ; in InitializeNonRecursiveMutex()25 return mutex->hevent != NULL ; /* TRUE if the mutex is created */ in InitializeNonRecursiveMutex()32 CloseHandle(mutex->hevent) ; in DeleteNonRecursiveMutex()33 mutex->hevent = NULL ; /* Just in case */ in DeleteNonRecursiveMutex()52 WaitForSingleObject(mutex->hevent, INFINITE) : WAIT_OBJECT_0 ; in EnterNonRecursiveMutex()65 SetEvent(mutex->hevent) ; /* Other threads are waiting, wake one on them up */ in LeaveNonRecursiveMutex()