Searched refs:pthds (Results 1 – 1 of 1) sorted by relevance
14 pthread_t *pthds; member 126 t->pthds = malloc(batch_sz * sizeof(*t->pthds)); in setup() 127 if (!t->pthds) { in setup() 128 fprintf(stderr, "cannot alloc t->pthds\n"); in setup() 176 pthread_t *pthds = t->pthds; in task_producer() local 182 pthd_results[i] = pthread_create(&pthds[i], NULL, thread_func, NULL); in task_producer() 189 pthread_join(pthds[i], NULL); in task_producer()