Searched refs:__cb (Results 1 – 3 of 3) sorted by relevance
| /src/contrib/llvm-project/libcxx/include/__stop_token/ |
| H A D | stop_state.h | 111 auto __cb = __callback_list_.__pop_front(); in __request_stop() local 117 __cb->__destroyed_ = &__destroyed; in __request_stop() 119 __cb->__invoke(); in __request_stop() 125 __cb->__destroyed_ = nullptr; in __request_stop() 130 __cb->__completed_.store(true, std::memory_order_release); in __request_stop() 131 __cb->__completed_.notify_all(); in __request_stop() 140 …_LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI bool __add_callback(__stop_callback_base* __cb) no… in __add_callback() argument 142 const auto __give_up_trying_to_lock_condition = [__cb](__state_t __state) { in __add_callback() 145 __cb->__invoke(); in __add_callback() 158 __callback_list_.__push_front(__cb); in __add_callback() [all …]
|
| H A D | stop_callback.h | 51 … _Cb&& __cb) noexcept(is_nothrow_constructible_v<_Callback, _Cb>) in stop_callback() argument 52 : stop_callback(__private_constructor_tag{}, __st.__state_, std::forward<_Cb>(__cb)) {} in stop_callback() 57 … _Cb&& __cb) noexcept(is_nothrow_constructible_v<_Callback, _Cb>) in stop_callback() argument 58 … : stop_callback(__private_constructor_tag{}, std::move(__st.__state_), std::forward<_Cb>(__cb)) {} in stop_callback() 78 …OM_ABI explicit stop_callback(__private_constructor_tag, _StatePtr&& __state, _Cb&& __cb) noexcept( in stop_callback() argument 84 __callback_(std::forward<_Cb>(__cb)),
|
| /src/contrib/llvm-project/libcxx/include/ |
| H A D | condition_variable | 286 stop_callback __cb(__stoken, [this] { notify_all(); }); 318 stop_callback __cb(__stoken, [this] { notify_all(); });
|