Searched refs:locker (Results 1 – 5 of 5) sorted by relevance
35 std::unique_lock<std::mutex> locker(mutex_); in Start() local44 std::unique_lock<std::mutex> locker(mutex_); in Stop() local46 locker.unlock(); in Stop()
52 std::unique_lock<std::mutex> locker(mutex); in Run() local53 … cond.wait_for(locker, std::chrono::milliseconds(msec), [this]() { return exit.load(); }); in Run()
52 std::unique_lock<std::mutex> locker(mutex_); in ~HidumpPlugin() local59 locker.unlock(); in ~HidumpPlugin()84 std::unique_lock<std::mutex> locker(mutex_); in Start() local94 std::unique_lock<std::mutex> locker(mutex_); in Stop() local96 locker.unlock(); in Stop()
53 std::unique_lock<std::mutex> locker(mutex_); in ~HilogPlugin() local60 locker.unlock(); in ~HilogPlugin()101 std::unique_lock<std::mutex> locker(mutex_); in Start() local103 locker.unlock(); in Start()118 std::unique_lock<std::mutex> locker(mutex_); in Stop() local121 locker.unlock(); in Stop()
233 PthreadLocker locker(header_->info.mutex_); in PutRaw() local323 PthreadLocker locker(header_->info.mutex_); in PutMessage() local