Lines Matching refs:mutex
86 std::mutex mutex; in ReadTraceBlocking() local
91 ReadTrace([&mutex, &raw_trace, &all_read, &cv](ReadTraceCallbackArgs cb) { in ReadTraceBlocking()
93 std::unique_lock<std::mutex> lock(mutex); in ReadTraceBlocking()
100 std::unique_lock<std::mutex> lock(mutex); in ReadTraceBlocking()
108 std::mutex mutex; in GetTraceStatsBlocking() local
114 [&mutex, &result, &stats_read, &cv](GetTraceStatsCallbackArgs args) { in GetTraceStatsBlocking()
116 std::unique_lock<std::mutex> lock(mutex); in GetTraceStatsBlocking()
122 std::unique_lock<std::mutex> lock(mutex); in GetTraceStatsBlocking()
130 std::mutex mutex; in QueryServiceStateBlocking() local
136 [&mutex, &result, &status_read, &cv](QueryServiceStateCallbackArgs args) { in QueryServiceStateBlocking()
138 std::unique_lock<std::mutex> lock(mutex); in QueryServiceStateBlocking()
144 std::unique_lock<std::mutex> lock(mutex); in QueryServiceStateBlocking()