tsan: move implementation out of h file