Home
last modified time | relevance | path

Searched refs:_mutex (Results 1 - 4 of 4) sorted by relevance

/third_party/lzma/C/
H A DThreads.c354 RINOK(pthread_mutex_init(&p->_mutex, NULL)) in Event_Create()
374 RINOK(pthread_mutex_lock(&p->_mutex)) in Event_Set()
377 int res2 = pthread_mutex_unlock(&p->_mutex); in Event_Set()
383 RINOK(pthread_mutex_lock(&p->_mutex)) in Event_Reset()
385 return pthread_mutex_unlock(&p->_mutex); in Event_Reset()
390 RINOK(pthread_mutex_lock(&p->_mutex)) in Event_Wait()
395 pthread_cond_wait(&p->_cond, &p->_mutex); in Event_Wait()
402 return pthread_mutex_unlock(&p->_mutex); in Event_Wait()
411 int res1 = pthread_mutex_destroy(&p->_mutex); in Event_Close()
422 RINOK(pthread_mutex_init(&p->_mutex, NUL in Semaphore_Create()
[all...]
H A DThreads.h181 pthread_mutex_t _mutex; member
207 pthread_mutex_t _mutex; member
224 pthread_mutex_t _mutex; member
/third_party/lzma/CPP/Windows/
H A DSynchronization.h213 pthread_mutex_t _mutex; member in NWindows::NSynchronization::MY_UNCOPYABLE
223 ::pthread_mutex_destroy(&_mutex); in ~CSynchro()
230 RINOK(::pthread_mutex_init(&_mutex, NULL)) in Create()
237 return ::pthread_mutex_lock(&_mutex); in Enter()
241 return ::pthread_mutex_unlock(&_mutex); in Leave()
245 return ::pthread_cond_wait(&_cond, &_mutex); in WaitCond()
250 const WRes res2 = ::pthread_mutex_unlock(&_mutex); in LeaveAndSignal()
/third_party/python/Lib/multiprocessing/
H A Dmanagers.py757 _mutex = util.ForkAwareThreadLock() variable in BaseProxy
761 with BaseProxy._mutex:

Completed in 4 milliseconds