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

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 28 13:32:42 PDT 2021


michaelrj added inline comments.


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


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