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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue May 28 10:49:19 PDT 2024


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

oh, I forgot to request that `MutexLock` get removed in c4a3d184db5fdffe798208b8281dfe944616f9ed.

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


More information about the libc-commits mailing list