Lines Matching refs:thread
35 * When affinity is enabled, each producer thread is tagged with an affinity tag
41 * Buffer management uses pthread mutex/condition variables. A thread blocks
94 /* This defines a worker thread */
98 pthread_t thread;
184 * This is the central function for every thread.
208 * set our tag to by our thread set number.
219 * The tets thread to get here releases everyone and starts the timer.
398 /* Set up the queue for the workers of this thread set: */
440 if (ret = pthread_create(&wp->thread,
453 if (ret = pthread_create(&wp->thread,
476 if(ret = pthread_join(wp->thread, (void **)&status))