TSAN fixes: Refactor mutex handling #7744
+283
−174
Draft
Loading