Lines Matching refs:latch
14 latch synopsis
19 class latch
24 constexpr explicit latch(ptrdiff_t __expected);
25 ~latch();
27 latch(const latch&) = delete;
28 latch& operator=(const latch&) = delete;
66 class _LIBCPP_DEPRECATED_ATOMIC_SYNC latch {
72 inline _LIBCPP_HIDE_FROM_ABI constexpr explicit latch(ptrdiff_t __expected) : __a_(__expected) {
75 "latch::latch(ptrdiff_t): latch cannot be "
79 "latch::latch(ptrdiff_t): latch cannot be "
83 _LIBCPP_HIDE_FROM_ABI ~latch() = default;
84 latch(const latch&) = delete;
85 latch& operator=(const latch&) = delete;
88 …_LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN(__update >= 0, "latch::count_down called with a negative val…
92 "latch::count_down called with a value greater "
106 …_LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN(__update >= 0, "latch::arrive_and_wait called with a negativ…