Lines Matching refs:thread_arg
75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown()
76 thread_arg.terminate_thread = true; in TearDown()
77 pthread_cond_broadcast(&thread_arg.terminate_thread_cond); in TearDown()
78 pthread_mutex_unlock(&thread_arg.terminate_thread_mutex); in TearDown()
90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest
110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter()
111 thread_arg.reported_tid = -1; in SpawnTidReporter()
114 &thread_arg)); in SpawnTidReporter()
115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter()
116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter()
117 &thread_arg.tid_reported_mutex); in SpawnTidReporter()
118 pthread_mutex_unlock(&thread_arg.tid_reported_mutex); in SpawnTidReporter()
119 *tid = thread_arg.reported_tid; in SpawnTidReporter()