Lines Matching defs:thread
18 typedef pthread_t thread;
63 static thread id[threads];
88 trace("thread %u in phase %u\n", *number, i);
92 trace("thread %u is last, signalling main\n", *number);
94 trace("thread %u is last, signalling main, %s\n", *number, errorstring(ret));
96 t_error("thread %u is last in phase %u, signalling main failed: %s\n", *number, i, errorstring(ret));
99 tell("thread %u in phase %u (%u), waiting\n", *number, i, phase);
102 trace("thread %u in phase %u (%u), finished, %s\n", *number, i, phase, errorstring(ret));
104 t_error("thread %u in phase %u (%u) finished waiting: %s\n", *number, i, phase, errorstring(ret));
109 trace("thread %u in phase %u (%u), has unlocked mutex: %s\n", *number, i, phase, errorstring(ret));
111 t_error("thread %u in phase %u (%u), failed to unlock: %s\n", *number, i, phase, errorstring(ret));
140 t_error("main thread in phase %u (%u threads inside), finished waiting: %s\n", phase, inside[phase], errorstring(ret));
167 trace("main joining thread %u\n", i);
169 trace("main joining thread %u: %s\n", i, errorstring(ret));
171 t_error("main failed join thread %u: %s\n", i, errorstring(ret));