[PATCH] D14731: [libcxx] Add clang thread safety annotations to mutex and lock_guard

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 15 19:01:37 PDT 2016


EricWF added inline comments.

================
Comment at: include/__mutex_base:37
@@ -30,1 +36,3 @@
+
+class _LIBCPP_TYPE_VIS _LIBCPP_THREAD_SAFETY_ANNOTATION(capability("mutex")) mutex
 {
----------------
I appreciate the super thorough answer!


http://reviews.llvm.org/D14731





More information about the cfe-commits mailing list