Searched refs:thread_barrier (Results 1 – 1 of 1) sorted by relevance
295 pthread_barrier_t thread_barrier; in CreateThreadsInChildProcess() local296 if (pthread_barrier_init(&thread_barrier, NULL, num_threads) != 0) { in CreateThreadsInChildProcess()302 thread_data[i].barrier = &thread_barrier; in CreateThreadsInChildProcess()311 int result = pthread_barrier_wait(&thread_barrier); in CreateThreadsInChildProcess()317 pthread_barrier_destroy(&thread_barrier); in CreateThreadsInChildProcess()