Lines Matching defs:mutex
9 // Define ~mutex.
11 // On some platforms ~mutex has been made trivial and the definition is only
15 // that *nothing* sees the non-trivial mutex declaration. For this reason
29 class _LIBCPP_EXPORTED_FROM_ABI mutex {
33 _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI constexpr mutex() = default;
34 mutex(const mutex&) = delete;
35 mutex& operator=(const mutex&) = delete;
36 ~mutex() noexcept;
39 mutex::~mutex() noexcept { __libcpp_mutex_destroy(&__m_); }