Fix assertion race condition in debug mode
Commit 21d206f3 added mutex assertions. However, the "locker" variable to trace the locker thread id was read and written by several threads without any protection, so it was racy. Reported by TSAN.
Showing
想要评论请 注册 或 登录