Searched refs:lk (Results 1 – 9 of 9) sorted by relevance
62 std::unique_lock<std::mutex> lk(queue_lock); in splice_write_pool_func() local63 queue_cond.wait(lk, []{return !queue.empty() || done;}); in splice_write_pool_func()69 lk.unlock(); in splice_write_pool_func()78 std::unique_lock<std::mutex> lk(queue_lock); in write_pool_func() local79 queue_cond.wait(lk, []{return !queue.empty() || done;}); in write_pool_func()85 lk.unlock(); in write_pool_func()122 std::unique_lock<std::mutex> lk(queue_lock); in aio_pool_end() local123 lk.unlock(); in aio_pool_end()134 std::unique_lock<std::mutex> lk(queue_lock); in aio_pool_write() local135 write_cond.wait(lk, []{return queue.size() < MAX_QUEUE_SIZE;}); in aio_pool_write()[all …]
54 unique_lock<mutex> lk(mQueueMutex); in threadLoop() local59 mQueueCond.wait(lk); in threadLoop()85 lock_guard<mutex> lk(mQueueMutex); in enqueue() local101 lock_guard<mutex> lk(mQueueMutex); in stop() local
114 lock_guard<mutex> lk(gContextMutex); in nativeInit() local127 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local161 lock_guard<mutex> lk(gContextMutex); in assignHalInterfaces() local195 lock_guard<mutex> lk(gContextMutex); in getHalTuner() local200 lock_guard<mutex> lk(gContextMutex); in getHalTuner11() local214 lock_guard<mutex> lk(gContextMutex); in nativeClose() local238 lock_guard<mutex> lk(gContextMutex); in nativeSetConfiguration() local273 lock_guard<mutex> lk(gContextMutex); in nativeSetMuted() local301 lock_guard<mutex> lk(gContextMutex); in nativeTune() local343 lock_guard<mutex> lk(gContextMutex); in nativeGetProgramInformation() local[all …]
193 lock_guard<mutex> lk(mMut); in tuneComplete() local273 lock_guard<mutex> lk(mMut); in newMetadata() local356 lock_guard<mutex> lk(gContextMutex); in nativeInit() local369 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local377 lock_guard<mutex> lk(gContextMutex); in nativeDetach() local386 lock_guard<mutex> lk(gContextMutex); in getNativeCallback() local
97 lock_guard<mutex> lk(gContextMutex); in nativeInit() local106 lock_guard<mutex> lk(gContextMutex); in nativeFinalize() local114 lock_guard<mutex> lk(gContextMutex); in nativeLoadModules() local189 lock_guard<mutex> lk(gContextMutex); in nativeOpenTuner() local
39 std::lock_guard<std::mutex> lk(mLock); in addEvent() local48 std::lock_guard<std::mutex> lk(mLock); in dump() local88 std::lock_guard<std::mutex> lk(mLock); in populateLastEvent() local
31 std::lock_guard<std::mutex> lk(mLock); in add() local43 std::lock_guard<std::mutex> lk(mLock); in remove() local65 std::lock_guard<std::mutex> lk(mLock); in isNewHandle() local
115 std::lock_guard<std::mutex> lk(mLock); in forEachEntry()126 std::lock_guard<std::mutex> lk(mLock); in getOne()
246 int lk = u.length();247 for (int k=0; k<lk; k++) {