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

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


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

Mind splitting the removal of that and the fixup to libc/src/__support/threads/linux/CndVar.cpp of my mistake to a distinct PR from this one?

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


More information about the libc-commits mailing list