[libc-commits] [libc] [libc] rework mutex (PR #92168)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Tue May 28 13:10:45 PDT 2024


================
@@ -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


More information about the libc-commits mailing list