Searched refs:thread_index (Results 1 – 2 of 2) sorted by relevance
161 int thread_index; in main() local200 for (thread_index = 0; thread_index < args.num_threads; thread_index++) { in main()201 retval = pthread_create(&threads[thread_index], NULL, thread_setup, (void*)(long)thread_index); in main()213 for (thread_index = 0; thread_index < args.num_threads; thread_index++) { in main()214 pthread_join(threads[thread_index], &thread_retval_ptr); in main()
105 for(int thread_index = 0; thread_index < self->numThreads; thread_index++) {106 NSNumber* my_thread_index = [NSNumber numberWithInt:thread_index];108 retval = pthread_create(&threads[thread_index], NULL, thread_setup, (__bridge void*)arg);127 for(int thread_index = 0; thread_index < self->numThreads; thread_index++) {128 pthread_join(self->threads[thread_index], NULL);