Lines Matching defs:main
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));
117 int main(void) {
120 tell("start up of main, using %s, library %s\n", VERSION, LIBRARY);
135 trace("main seeing %u threads in phase %u, waiting\n", inside[phase], phase);
138 tell("main seeing %u threads in phase %u, %s\n", inside[phase], phase, errorstring(ret));
140 t_error("main thread in phase %u (%u threads inside), finished waiting: %s\n", phase, inside[phase], errorstring(ret));
152 trace("main has broadcast to %u: %s\n", phase, errorstring(ret));
154 t_error("main broadcast in phase %u failed: %s\n", phase, errorstring(ret));
157 trace("main has unlocked mutex %u: %s\n", phase-1, errorstring(ret));
159 t_error("main failed to unlock mutex %u: %s\n", phase-1, errorstring(ret));
164 trace("main finished loop\n");
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));
182 tell("shut down of main, using %s, library %s\n", VERSION, LIBRARY);