Lines Matching refs:threads
32 static struct thread_data threads[THREADS];
81 struct thread_data *td = &threads[i];
101 struct thread_data *td0 = &threads[0];
118 struct thread_data *td0 = &threads[0];
127 err = pthread_join(threads[i].pt, NULL);
162 * The threads_create will not return before all threads
168 TEST_ASSERT_VAL("failed to create threads", !threads_create());
178 TEST_ASSERT_VAL("failed to destroy threads", !threads_destroy());
186 struct thread_data *td = &threads[i];
216 * This test creates 'THREADS' number of threads (including
219 * When threads are created, we synthesize them with both