Lines Matching defs:threads
71 void *threads(void *thread_id);
122 sprintf(msg, "%s\nCannot use %d threads", msg, numthreads);
123 sprintf(msg, "%s, used %d threads instead\n", msg, MAXTHREADS);
149 /* Create threads */
151 if (pthread_create(&th_id, NULL, threads,
160 /* Sleep until all threads are created */
164 "error while waiting for reading threads");
170 /* Wake up all threads */
172 tst_resm(TFAIL, "failed trying to wake up reading threads");
205 /* threads: Each thread opens the files specified */
206 void *threads(void *thread_id_)