Home
last modified time | relevance | path

Searched refs:_mutex (Results 1 – 24 of 24) sorted by relevance

/external/libxcam/xcore/
Dxcam_mutex.h37 int error_num = pthread_mutex_init (&_mutex, NULL); in Mutex()
43 int error_num = pthread_mutex_destroy (&_mutex); in ~Mutex()
50 int error_num = pthread_mutex_lock (&_mutex); in lock()
56 int error_num = pthread_mutex_unlock (&_mutex); in unlock()
63 pthread_mutex_t _mutex;
79 return pthread_cond_wait (&_cond, &mutex._mutex); in wait()
91 return pthread_cond_timedwait (&_cond, &mutex._mutex, &abstime); in timedwait()
109 SmartLock (XCam::Mutex &mutex): _mutex(mutex) { in SmartLock()
110 _mutex.lock(); in SmartLock()
113 _mutex.unlock(); in ~SmartLock()
[all …]
Dsafe_list.h54 SmartLock lock(_mutex); in size()
58 SmartLock lock(_mutex); in is_empty()
65 SmartLock lock(_mutex); in pause_pop()
70 SmartLock lock(_mutex); in resume_pop()
77 Mutex _mutex; variable
87 SmartLock lock (_mutex); in pop()
92 code = _new_obj_cond.wait(_mutex); in pop()
94 code = _new_obj_cond.timedwait(_mutex, timeout); in pop()
118 SmartLock lock (_mutex); in push()
129 SmartLock lock (_mutex); in erase()
[all …]
Dxcam_thread.cpp51 SmartLock locker(thread->_mutex); in thread_func()
58 SmartLock locker(thread->_mutex); in thread_func()
72 SmartLock locker(thread->_mutex); in thread_func()
94 SmartLock locker(_mutex); in start()
119 SmartLock locker(_mutex); in emit_stop()
126 SmartLock locker(_mutex); in stop()
131 _exit_cond.wait(_mutex); in stop()
138 SmartLock locker(_mutex); in is_running()
Dthread_pool.cpp50 SmartLock lock (_pool->_mutex); in started()
65 SmartLock lock (_pool->_mutex); in loop()
77 SmartLock lock (_pool->_mutex); in loop()
85 SmartLock lock (_pool->_mutex); in loop()
144 SmartLock locker(_mutex); in is_running()
151 SmartLock locker(_mutex); in start()
177 SmartLock locker(_mutex); in stop()
204 SmartLock locker(_mutex); in stop()
237 SmartLock locker (_mutex); in queue()
246 SmartLock locker(_mutex); in queue()
Dbuffer_pool.cpp82 SmartLock lock (_mutex); in set_video_info()
106 SmartLock lock (_mutex); in reserve()
151 SmartLock lock (_mutex); in get_buffer()
184 SmartLock lock (_mutex); in stop()
194 SmartLock lock (_mutex); in release()
Dx3a_analyzer_manager.cpp31 Mutex X3aAnalyzerManager::_mutex; member in XCam::X3aAnalyzerManager
36 SmartLock lock(_mutex); in instance()
Dhandler_interface.h48 : SmartLock (handler->_mutex) in HandlerLock()
54 Mutex _mutex; variable
Dx3a_analyzer_manager.h52 static Mutex _mutex; variable
Dxcam_thread.h58 XCam::Mutex _mutex; variable
Dx3a_result_factory.cpp39 Mutex X3aResultFactory::_mutex; member in XCam::X3aResultFactory
45 SmartLock locker (_mutex); in instance()
Dthread_pool.h77 Mutex _mutex; variable
Dx3a_result_factory.h67 static Mutex _mutex;
Dbuffer_pool.h121 Mutex _mutex;
Ddrm_display.h162 static Mutex _mutex; variable
Ddrm_display.cpp37 Mutex DrmDisplay::_mutex; member in XCam::DrmDisplay
54 SmartLock lock(_mutex); in instance()
/external/ImageMagick/Magick++/lib/
DThread.cpp21 : _mutex() in MutexLock()
30 if ((sysError=::pthread_mutex_init(&_mutex,&attr)) == 0) in MutexLock()
51 _mutex=::CreateSemaphore(&security,1,1,(LPCSTR) NULL);
52 if (_mutex != (HANDLE) NULL)
68 (void) ::pthread_mutex_destroy(&_mutex); in ~MutexLock()
71 (void) ::CloseHandle(_mutex); in ~MutexLock()
82 if ((sysError=::pthread_mutex_lock(&_mutex)) == 0) in lock()
88 if (WaitForSingleObject(_mutex,INFINITE) != WAIT_FAILED) in lock()
101 if ((sysError=::pthread_mutex_unlock(&_mutex)) == 0) in unlock()
107 if (ReleaseSemaphore(_mutex,1,(LPLONG) NULL) == TRUE) in unlock()
/external/autotest/client/cros/
Ddhcp_test_server.py71 self._mutex = threading.Lock()
89 with self._mutex:
94 with self._mutex:
99 with self._mutex:
104 with self._mutex:
112 with self._mutex:
151 with self._mutex:
166 with self._mutex:
187 with self._mutex:
192 with self._mutex:
[all …]
/external/libxcam/modules/soft/
Dsoft_handler.cpp43 mutable Mutex _mutex; member in XCam::SyncMeta
52 SmartLock locker (_mutex); in signal_done()
61 SmartLock locker (_mutex); in wakeup()
69 SmartLock locker (_mutex); in signal_wait_ret()
72 _cond.wait (_mutex); in signal_wait_ret()
79 SmartLock locker (_mutex); in is_error()
Dsoft_worker.cpp30 Mutex _mutex; member in XCam::ItemSynch
38 SmartLock locker(_mutex); in update_error()
42 SmartLock locker(_mutex); in get_error()
/external/ImageMagick/Magick++/lib/Magick++/
DThread.h52 pthread_mutex_t _mutex; variable
55 HANDLE _mutex; variable
/external/libxcam/modules/ocl/
Dpriority_buffer_queue.cpp44 SmartLock lock (_mutex); in push_priority_buf()
/external/python/cpython2/Doc/library/
Dmutex.rst38 .. _mutex-objects:
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py697 _mutex = util.ForkAwareThreadLock() variable in BaseProxy
701 BaseProxy._mutex.acquire()
708 BaseProxy._mutex.release()
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py731 _mutex = util.ForkAwareThreadLock() variable in BaseProxy
735 with BaseProxy._mutex: