Home | History | Annotate | Download | only in ltpscsi

Lines Matching defs:threads

212 typedef struct request_collection {	/* one instance visible to all threads */
349 /* Following 2 macros from D.R. Butenhof's POSIX threads book:
7296 pthread_t threads[MAX_NUM_THREADS];
7531 /* vvvvvvvvvvv Start worker threads vvvvvvvvvvvvvvvvvvvvvvvv */
7537 status = pthread_create(&threads[0], NULL, read_write_thread,
7555 /* now start the rest of the threads */
7558 pthread_create(&threads[k], NULL, read_write_thread,
7567 /* now wait for worker threads to finish */
7569 status = pthread_join(threads[k], &vp);