/external/libxcam/xcore/ |
D | xcam_mutex.h | 37 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 …]
|
D | safe_list.h | 54 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 …]
|
D | xcam_thread.cpp | 51 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()
|
D | thread_pool.cpp | 50 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()
|
D | buffer_pool.cpp | 82 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()
|
D | x3a_analyzer_manager.cpp | 31 Mutex X3aAnalyzerManager::_mutex; member in XCam::X3aAnalyzerManager 36 SmartLock lock(_mutex); in instance()
|
D | handler_interface.h | 48 : SmartLock (handler->_mutex) in HandlerLock() 54 Mutex _mutex; variable
|
D | x3a_analyzer_manager.h | 52 static Mutex _mutex; variable
|
D | xcam_thread.h | 58 XCam::Mutex _mutex; variable
|
D | x3a_result_factory.cpp | 39 Mutex X3aResultFactory::_mutex; member in XCam::X3aResultFactory 45 SmartLock locker (_mutex); in instance()
|
D | thread_pool.h | 77 Mutex _mutex; variable
|
D | x3a_result_factory.h | 67 static Mutex _mutex;
|
D | buffer_pool.h | 121 Mutex _mutex;
|
D | drm_display.h | 162 static Mutex _mutex; variable
|
D | drm_display.cpp | 37 Mutex DrmDisplay::_mutex; member in XCam::DrmDisplay 54 SmartLock lock(_mutex); in instance()
|
/external/ImageMagick/Magick++/lib/ |
D | Thread.cpp | 21 : _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/ |
D | dhcp_test_server.py | 71 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/ |
D | soft_handler.cpp | 43 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()
|
D | soft_worker.cpp | 30 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++/ |
D | Thread.h | 52 pthread_mutex_t _mutex; variable 55 HANDLE _mutex; variable
|
/external/libxcam/modules/ocl/ |
D | priority_buffer_queue.cpp | 44 SmartLock lock (_mutex); in push_priority_buf()
|
/external/python/cpython2/Doc/library/ |
D | mutex.rst | 38 .. _mutex-objects:
|
/external/python/cpython2/Lib/multiprocessing/ |
D | managers.py | 697 _mutex = util.ForkAwareThreadLock() variable in BaseProxy 701 BaseProxy._mutex.acquire() 708 BaseProxy._mutex.release()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | managers.py | 731 _mutex = util.ForkAwareThreadLock() variable in BaseProxy 735 with BaseProxy._mutex:
|