Searched refs:mutex_ (Results 1 – 11 of 11) sorted by relevance
31 pthread_mutex_lock(&mutex_); in WaitForReady()33 pthread_cond_wait(&cond_, &mutex_); in WaitForReady()35 pthread_mutex_unlock(&mutex_); in WaitForReady()39 pthread_mutex_lock(&mutex_); in WaitForPending()41 pthread_cond_wait(&cond_, &mutex_); in WaitForPending()43 pthread_mutex_unlock(&mutex_); in WaitForPending()47 pthread_mutex_lock(&mutex_); in SetPending()49 pthread_mutex_unlock(&mutex_); in SetPending()54 pthread_mutex_lock(&mutex_); in ClearPending()56 pthread_mutex_unlock(&mutex_); in ClearPending()
48 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
37 pthread_mutex_lock(&mutex_); in Lock()45 pthread_mutex_unlock(&mutex_); in Unlock()59 pthread_mutex_t mutex_; variable
34 : pid_(pid), tid_(tid), ref_count_(1), mutex_(PTHREAD_MUTEX_INITIALIZER), in ThreadEntry()
112 std::lock_guard<std::mutex> lock(mutex_); in ~HeartRateServer()124 std::lock_guard<std::mutex> lock(mutex_); in Run()160 std::lock_guard<std::mutex> lock(mutex_); in SendHeartRateMeasurement()228 std::lock_guard<std::mutex> lock(mutex_); in OnServerRegistered()284 std::lock_guard<std::mutex> lock(mutex_); in OnServiceAdded()316 std::lock_guard<std::mutex> lock(mutex_); in OnCharacteristicReadRequest()339 std::lock_guard<std::mutex> lock(mutex_); in OnDescriptorReadRequest()373 std::lock_guard<std::mutex> lock(mutex_); in OnCharacteristicWriteRequest()416 std::lock_guard<std::mutex> lock(mutex_); in OnDescriptorWriteRequest()480 std::lock_guard<std::mutex> lock(mutex_); in OnNotificationSent()
85 std::mutex mutex_; variable
61 lock_guard<mutex> lock(mutex_); in SetDelegate()72 lock_guard<mutex> lock(mutex_); in AddService()121 lock_guard<mutex> lock(mutex_); in SendResponse()190 lock_guard<mutex> lock(mutex_); in SendNotification()251 lock_guard<mutex> lock(mutex_); in ConnectionCallback()301 lock_guard<mutex> lock(mutex_); in ServiceAddedCallback()343 lock_guard<mutex> lock(mutex_); in RequestReadCharacteristicCallback()376 lock_guard<mutex> lock(mutex_); in RequestReadDescriptorCallback()411 lock_guard<mutex> lock(mutex_); in RequestWriteCharacteristicCallback()450 lock_guard<mutex> lock(mutex_); in RequestWriteDescriptorCallback()[all …]
244 std::mutex mutex_; variable
63 std::mutex mutex_; variable
64 std::mutex mutex_; variable
313 std::lock_guard<std::mutex> lock(mutex_); in AddBridge()357 std::lock_guard<std::mutex> lock(mutex_); in Start()