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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri May 24 10:33:47 PDT 2024


================
@@ -27,7 +29,7 @@ int CndVar::wait(Mutex *m) {
 
   CndWaiter waiter;
   {
-    MutexLock ml(&qmtx);
+    cpp::lock_guard ml(qmtx);
----------------
nickdesaulniers wrote:

oops, did I undo this when I recently moved CndVar?

https://github.com/llvm/llvm-project/pull/92168


More information about the libc-commits mailing list