[libc-commits] [libc] [libc] Replace `MutexLock` with `cpp::lock_guard` (PR #89340)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Apr 19 09:44:45 PDT 2024


================
@@ -10,6 +10,7 @@
 #define LLVM_LIBC_SRC_THREADS_LINUX_CNDVAR_H
 
 #include "src/__support/CPP/atomic.h"
+#include "src/__support/CPP/mutex.h"      // For lock_guard
----------------
nickdesaulniers wrote:

as a heads up, this hunk is likely to collide with #89329.

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


More information about the libc-commits mailing list