Lines Matching refs:thread_index
170 int thread_index;
179 for (thread_index = 0; thread_index < number_threads; thread_index++) {
180 SAFE_PTHREAD_CREATE(&thread_ids[thread_index], NULL, alloc_mem,
181 (void *)(uintptr_t)thread_index);
186 for (thread_index = 0; thread_index < number_threads; thread_index++) {
189 SAFE_PTHREAD_JOIN(thread_ids[thread_index], &status);
192 thread_index);