[PATCH] D36385: [asan] Refactor thread creation bookkeeping

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 21:43:19 PDT 2017


vitalybuka added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_thread_registry.cc:258
+// trying to create it, and then failed to actually create it.
+void ThreadRegistry::FinishThread(u32 tid, bool aborted) {
   BlockingMutexLock l(&mtx_);
----------------
aborted = (ThreadStatusCreated == tctx->status)
so we can avoid additional argument



Repository:
  rL LLVM

https://reviews.llvm.org/D36385





More information about the llvm-commits mailing list