Searched refs:__cb (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/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() 131 __cb->__completed_.notify_all(); in __request_stop() 145 __cb->__invoke(); in __add_callback() 158 __callback_list_.__push_front(__cb); in __add_callback() 171 … bool __potentially_executing_now = __cb->__prev_ == nullptr && !__callback_list_.__is_head(__cb); in __remove_callback() 185 if (__cb->__destroyed_) { in __remove_callback() 186 *__cb->__destroyed_ = true; in __remove_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_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_tag{}, std::move(__st.__state_), std::forward<_Cb>(__cb)) {} in stop_callback() 80 …_LIBCPP_HIDE_FROM_ABI explicit stop_callback(__private_tag, _StatePtr&& __state, _Cb&& __cb) noexc… in stop_callback() argument 86 __callback_(std::forward<_Cb>(__cb)),
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | condition_variable | 288 stop_callback __cb(__stoken, [this] { notify_all(); }); 320 stop_callback __cb(__stoken, [this] { notify_all(); });
|