HomeSort by relevance Sort by last modified time
    Searched defs:WaitableMutexWrapper (Results 1 - 2 of 2) sorted by null

  /frameworks/av/services/camera/libcameraservice/utils/
AutoConditionLock.cpp 21 WaitableMutexWrapper::WaitableMutexWrapper(Mutex* mutex) : mMutex{mutex}, mState{false} {}
23 WaitableMutexWrapper::~WaitableMutexWrapper() {}
26 AutoConditionLock::AutoConditionLock(const std::shared_ptr<WaitableMutexWrapper>& manager) :
39 const std::shared_ptr<WaitableMutexWrapper>& manager, nsecs_t waitTime) {
69 const std::shared_ptr<WaitableMutexWrapper>& manager) {
AutoConditionLock.h 31 * WaitableMutexWrapper can be used with AutoConditionLock to construct scoped locks for the
34 class WaitableMutexWrapper {
40 explicit WaitableMutexWrapper(Mutex* mutex);
42 virtual ~WaitableMutexWrapper();
53 * AutoConditionLock is used with a WaitableMutexWrapper to lock/unlock the WaitableMutexWrapper's
54 * wrapped Mutex, and wait/set/signal the WaitableMutexWrapper's wrapped condition. To use this,
56 * - Lock the given WaitableMutexWrapper's mutex.
57 * - Wait for the WaitableMutexWrapper's condition to become false, or timeout.
58 * - Set the WaitableMutexWrapper's condition to true
    [all...]

Completed in 338 milliseconds