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

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


================
@@ -7,6 +7,8 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/__support/threads/CndVar.h"
+#include "raw_mutex.h"
----------------
nickdesaulniers wrote:

While this header is adjacent, if you use

```suggestion
#include "src/__support/threads/raw_mutex.h"
```
then sort instead, I think it will look nicer.  See futex_word.h and mutex.h below.

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


More information about the libc-commits mailing list