Lines Matching defs:thread
7 * Rewrite to have a single thread per CPU (managing all devices on that CPU)
104 * and it will signal the processing thread using the dp_cond,
119 * For piped output to stdout we will have each tracer thread (one per dev)
122 * The main thread will then collect trace buffers from each of lists in turn.
125 * can then signal the main thread using <dp_cond,dp_mutex> and
127 * signal. When dp_entries is 0, the main thread will wait for that condition
158 * Each thread doing work on a (client) side of blktrace will have one
161 * thread.
167 pthread_t thread;
301 * tracer threads add entries, the main thread takes them off and processes
309 * These synchronize master / thread interactions.
1480 fprintf(stderr, "Thread %d failed read of %s: %d/%s\n",
1676 fprintf(stderr, "Thread %d failed open %s: %d/%s\n",
1860 fprintf(stderr, "Thread %d poll failed: %d/%s\n",
1890 if (pthread_create(&tp->thread, NULL, thread_main, tp)) {
1891 fprintf(stderr, "FAILED to start thread on CPU %d: %d/%s\n",
1949 "FAILED to start thread on CPU %d: %d/%s\n",
2001 ret = pthread_join(tp->thread, NULL);
2003 fprintf(stderr, "Thread join %d failed %d\n",