Searched refs:thread_lock (Results 1 – 2 of 2) sorted by relevance
172 pthread_mutex_t thread_lock; variable214 pthread_mutex_init(&thread_lock, NULL); in init_once()443 pthread_mutex_lock(&thread_lock); in visualizer_hal_start_output()480 pthread_mutex_unlock(&thread_lock); in visualizer_hal_start_output()496 pthread_mutex_lock(&thread_lock); in visualizer_hal_stop_output()530 pthread_mutex_unlock(&thread_lock); in visualizer_hal_stop_output()
235 std::unique_lock<std::mutex> thread_lock(workload_mutex_); in WorkloadThreadLoop() local236 workload_cv_.wait(thread_lock, [this] { in WorkloadThreadLoop()