[libcxx-commits] [PATCH] D64299: Make ~mutex and ~condition_variable trivial with Bionic pthreads

Evgenii Stepanov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 16 13:58:01 PDT 2019


eugenis added a subscriber: dvyukov.
eugenis added a comment.

This feels like the right trade-off.

TSan should be fine with a mutex that is never destroyed, but it will not be able to catch lock-after-destroy bugs on such mutex obviously.
@dvyukov


Repository:
  rCXX libc++

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

https://reviews.llvm.org/D64299





More information about the libcxx-commits mailing list