Home
last modified time | relevance | path

Searched refs:_mut (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/lms/SyncLib/src/
H A DEventUnix.cpp51 pthread_mutex_init(&_mut, NULL); in OSEvent_s()
59 pthread_mutex_destroy(&_mut); in ~OSEvent_s()
62 pthread_mutex_t _mut; member in OSEvent_s
127 pthread_mutex_lock(&_osEvent->_ose->_mut); in wait()
132 &_osEvent->_ose->_mut, in wait()
138 pthread_mutex_unlock(&_osEvent->_ose->_mut); in wait()
146 pthread_mutex_lock(&_osEvent->_ose->_mut); in wait()
150 pthread_cond_wait(&_osEvent->_ose->_cond, &_osEvent->_ose->_mut); in wait()
154 pthread_mutex_unlock(&_osEvent->_ose->_mut); in wait()
162 pthread_mutex_lock(&_osEvent->_ose->_mut); in set()
[all …]
H A DThreadUnix.cpp51 pthread_mutex_t _mut; member in OSThread
64 pthread_mutex_lock(&t->_osThread->_mut); in threadFunc()
68 pthread_mutex_unlock(&t->_osThread->_mut); in threadFunc()
78 pthread_mutex_init(&_osThread->_mut, NULL); in Thread()
87 pthread_mutex_destroy(&_osThread->_mut); in ~Thread()
110 pthread_mutex_lock(&_osThread->_mut); in wait()
112 retcode = pthread_cond_timedwait(&_osThread->_cond, &_osThread->_mut, &timeout); in wait()
114 pthread_mutex_unlock(&_osThread->_mut); in wait()
122 pthread_mutex_lock(&_osThread->_mut); in wait()
125 pthread_cond_wait(&_osThread->_cond, &_osThread->_mut); in wait()
[all …]