================ @@ -27,7 +29,7 @@ int CndVar::wait(Mutex *m) { CndWaiter waiter; { - MutexLock ml(&qmtx); + cpp::lock_guard ml(qmtx); ---------------- SchrodingerZhu wrote: ok https://github.com/llvm/llvm-project/pull/92168