Searched defs:LockGuard (Results 1 – 3 of 3) sorted by relevance
36 std::unique_lock<std::mutex> LockGuard(QueueLock); in ThreadPool() local50 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local64 std::unique_lock<std::mutex> LockGuard(CompletionLock); in ThreadPool() local77 std::unique_lock<std::mutex> LockGuard(CompletionLock); in wait() local88 std::unique_lock<std::mutex> LockGuard(QueueLock); in asyncImpl() local102 std::unique_lock<std::mutex> LockGuard(QueueLock); in ~ThreadPool() local
60 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in waitForMainThread() local67 std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex); in setMainThreadReady() local
204 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); } in LockGuard() function