Searched refs:semMutex (Results 1 – 2 of 2) sorted by relevance
45 pthread_mutex_init(&sem->semMutex, NULL); in xsem_init()55 pthread_mutex_destroy(&sem->semMutex); in xsem_destroy()63 pthread_mutex_lock(&sem->semMutex); in xsem_wait()67 pthread_mutex_unlock(&sem->semMutex); in xsem_wait()75 pthread_cond_wait(&sem->semCV, &sem->semMutex); in xsem_wait()80 pthread_mutex_unlock(&sem->semMutex); in xsem_wait()85 pthread_mutex_unlock(&sem->semMutex); in xsem_wait()93 pthread_mutex_lock(&sem->semMutex); in xsem_trywait()97 pthread_mutex_unlock(&sem->semMutex); in xsem_trywait()102 pthread_mutex_unlock(&sem->semMutex); in xsem_trywait()[all …]
53 pthread_mutex_t semMutex; member