[libc-commits] [PATCH] D108948: [libc] Add implementations of the C standard condition variable functions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 28 13:30:29 PDT 2021


sivachandra added inline comments.


================
Comment at: libc/src/threads/linux/CndVar.h:59
+    CndWaiter waiter;
+    {
+      MutexLock ml(&qmtx);
----------------
michaelrj wrote:
> are these braces necessary?
These are for the RAII `MutexLock` class instantiated on line 60.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108948/new/

https://reviews.llvm.org/D108948



More information about the libc-commits mailing list