every thread prints in its own file
woops, that was a line commented out too much.
tracked race cond with valgrind --tool=helgrind...