Home
last modified time | relevance | path

Searched refs:Executor (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/third_party/boost/libs/asio/include/boost/asio/impl/
Duse_awaitable.hpp27 template <typename Executor, typename T>
29 : public awaitable_thread<Executor>
33 typedef awaitable<T, Executor> awaitable_type;
36 awaitable_handler_base(awaitable<void, Executor> a, const Executor& ex) in awaitable_handler_base()
37 : awaitable_thread<Executor>(std::move(a), ex) in awaitable_handler_base()
42 explicit awaitable_handler_base(awaitable_thread<Executor>* h) in awaitable_handler_base()
43 : awaitable_thread<Executor>(std::move(*h)) in awaitable_handler_base()
48 awaitable_frame<T, Executor>* frame() noexcept in frame()
50 return static_cast<awaitable_frame<T, Executor>*>(this->top_of_stack_); in frame()
57 template <typename Executor>
[all …]
Dco_spawn.hpp32 template <typename Executor, typename = void>
37 typename prefer_result<Executor,
42 co_spawn_work_guard(const Executor& ex) in co_spawn_work_guard()
58 template <typename Executor>
59 struct co_spawn_work_guard<Executor,
61 !execution::is_executor<Executor>::value
62 >::type> : executor_work_guard<Executor>
64 co_spawn_work_guard(const Executor& ex) in co_spawn_work_guard()
65 : executor_work_guard<Executor>(ex) in co_spawn_work_guard()
72 template <typename Executor>
[all …]
Dawaitable.hpp72 template <typename Executor>
151 auto await_transform(awaitable<T, Executor> a) const in await_transform()
191 awaitable_thread<Executor>* in await_transform()
218 void attach_thread(awaitable_thread<Executor>* handler) noexcept in attach_thread()
223 awaitable_thread<Executor>* detach_thread() noexcept in detach_thread()
228 void push_frame(awaitable_frame_base<Executor>* caller) noexcept in push_frame()
257 awaitable_thread<Executor>* attached_thread_ = nullptr;
258 awaitable_frame_base<Executor>* caller_ = nullptr;
262 template <typename T, typename Executor>
264 : public awaitable_frame_base<Executor>
[all …]
Dconnect.hpp106 template <typename Protocol, typename Executor, typename EndpointSequence>
107 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s, in connect()
118 template <typename Protocol, typename Executor, typename EndpointSequence>
119 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s, in connect()
130 template <typename Protocol, typename Executor, typename Iterator>
131 Iterator connect(basic_socket<Protocol, Executor>& s, Iterator begin, in connect()
140 template <typename Protocol, typename Executor, typename Iterator>
141 inline Iterator connect(basic_socket<Protocol, Executor>& s, in connect()
149 template <typename Protocol, typename Executor, typename Iterator>
150 Iterator connect(basic_socket<Protocol, Executor>& s, in connect()
[all …]
/third_party/boost/boost/asio/impl/
Duse_awaitable.hpp27 template <typename Executor, typename T>
29 : public awaitable_thread<Executor>
33 typedef awaitable<T, Executor> awaitable_type;
36 awaitable_handler_base(awaitable<void, Executor> a, const Executor& ex) in awaitable_handler_base()
37 : awaitable_thread<Executor>(std::move(a), ex) in awaitable_handler_base()
42 explicit awaitable_handler_base(awaitable_thread<Executor>* h) in awaitable_handler_base()
43 : awaitable_thread<Executor>(std::move(*h)) in awaitable_handler_base()
48 awaitable_frame<T, Executor>* frame() noexcept in frame()
50 return static_cast<awaitable_frame<T, Executor>*>(this->top_of_stack_); in frame()
57 template <typename Executor>
[all …]
Dco_spawn.hpp32 template <typename Executor, typename = void>
37 typename prefer_result<Executor,
42 co_spawn_work_guard(const Executor& ex) in co_spawn_work_guard()
58 template <typename Executor>
59 struct co_spawn_work_guard<Executor,
61 !execution::is_executor<Executor>::value
62 >::type> : executor_work_guard<Executor>
64 co_spawn_work_guard(const Executor& ex) in co_spawn_work_guard()
65 : executor_work_guard<Executor>(ex) in co_spawn_work_guard()
72 template <typename Executor>
[all …]
Dawaitable.hpp72 template <typename Executor>
151 auto await_transform(awaitable<T, Executor> a) const in await_transform()
191 awaitable_thread<Executor>* in await_transform()
218 void attach_thread(awaitable_thread<Executor>* handler) noexcept in attach_thread()
223 awaitable_thread<Executor>* detach_thread() noexcept in detach_thread()
228 void push_frame(awaitable_frame_base<Executor>* caller) noexcept in push_frame()
257 awaitable_thread<Executor>* attached_thread_ = nullptr;
258 awaitable_frame_base<Executor>* caller_ = nullptr;
262 template <typename T, typename Executor>
264 : public awaitable_frame_base<Executor>
[all …]
Dconnect.hpp106 template <typename Protocol, typename Executor, typename EndpointSequence>
107 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s, in connect()
118 template <typename Protocol, typename Executor, typename EndpointSequence>
119 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s, in connect()
130 template <typename Protocol, typename Executor, typename Iterator>
131 Iterator connect(basic_socket<Protocol, Executor>& s, Iterator begin, in connect()
140 template <typename Protocol, typename Executor, typename Iterator>
141 inline Iterator connect(basic_socket<Protocol, Executor>& s, in connect()
149 template <typename Protocol, typename Executor, typename Iterator>
150 Iterator connect(basic_socket<Protocol, Executor>& s, in connect()
[all …]
/third_party/boost/libs/asio/include/boost/asio/
Dconnect.hpp91 template <typename Protocol, typename Executor, typename EndpointSequence>
92 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s,
127 template <typename Protocol, typename Executor, typename EndpointSequence>
128 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s,
158 template <typename Protocol, typename Executor, typename Iterator>
159 Iterator connect(basic_socket<Protocol, Executor>& s, Iterator begin,
186 template <typename Protocol, typename Executor, typename Iterator>
187 Iterator connect(basic_socket<Protocol, Executor>& s,
219 template <typename Protocol, typename Executor, typename Iterator>
220 Iterator connect(basic_socket<Protocol, Executor>& s,
[all …]
Dstrand.hpp31 template <typename Executor>
36 typedef Executor inner_executor_type;
55 is_convertible<Executor1, Executor>, in strand() argument
109 : executor_(BOOST_ASIO_MOVE_CAST(Executor)(other.executor_)), in strand()
129 executor_ = BOOST_ASIO_MOVE_CAST(Executor)(other.executor_); in operator =()
172 can_query<const Executor&, Property>::value,
176 typename query_result<const Executor&, Property>::type
180 is_nothrow_query<const Executor&, Property>::value)) in query()
198 can_require<const Executor&, Property>::value
201 typename require_result<const Executor&, Property>::type
[all …]
Dco_spawn.hpp36 template <typename T, typename Executor>
37 struct awaitable_signature<awaitable<T, Executor>>
42 template <typename Executor>
43 struct awaitable_signature<awaitable<void, Executor>>
100 template <typename Executor, typename T, typename AwaitableExecutor,
103 BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(Executor)>
106 co_spawn(const Executor& ex, awaitable<T, AwaitableExecutor> a,
108 BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(Executor),
110 (is_executor<Executor>::value || execution::is_executor<Executor>::value)
111 && is_convertible<Executor, AwaitableExecutor>::value
[all …]
Dexecutor_work_guard.hpp35 template <typename Executor, typename = void, typename = void>
43 template <typename Executor>
45 template <typename Executor, typename, typename>
51 typedef Executor executor_type;
76 : executor_(BOOST_ASIO_MOVE_CAST(Executor)(other.executor_)), in executor_work_guard()
130 template <typename Executor>
131 class executor_work_guard<Executor,
133 !is_executor<Executor>::value
136 execution::is_executor<Executor>::value
140 typedef Executor executor_type;
[all …]
Dbind_executor.hpp156 template <typename T, typename Executor, bool UsesExecutor>
159 template <typename T, typename Executor>
160 class executor_binder_base<T, Executor, true>
170 Executor executor_;
174 template <typename T, typename Executor>
175 class executor_binder_base<T, Executor, false>
185 Executor executor_;
208 template <typename T, typename Executor>
215 T, Executor, uses_executor<T, Executor>::value>
223 typedef Executor executor_type;
[all …]
/third_party/boost/boost/asio/
Dconnect.hpp91 template <typename Protocol, typename Executor, typename EndpointSequence>
92 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s,
127 template <typename Protocol, typename Executor, typename EndpointSequence>
128 typename Protocol::endpoint connect(basic_socket<Protocol, Executor>& s,
158 template <typename Protocol, typename Executor, typename Iterator>
159 Iterator connect(basic_socket<Protocol, Executor>& s, Iterator begin,
186 template <typename Protocol, typename Executor, typename Iterator>
187 Iterator connect(basic_socket<Protocol, Executor>& s,
219 template <typename Protocol, typename Executor, typename Iterator>
220 Iterator connect(basic_socket<Protocol, Executor>& s,
[all …]
Dstrand.hpp31 template <typename Executor>
36 typedef Executor inner_executor_type;
55 is_convertible<Executor1, Executor>, in strand() argument
109 : executor_(BOOST_ASIO_MOVE_CAST(Executor)(other.executor_)), in strand()
129 executor_ = BOOST_ASIO_MOVE_CAST(Executor)(other.executor_); in operator =()
172 can_query<const Executor&, Property>::value,
176 typename query_result<const Executor&, Property>::type
180 is_nothrow_query<const Executor&, Property>::value)) in query()
198 can_require<const Executor&, Property>::value
201 typename require_result<const Executor&, Property>::type
[all …]
Dco_spawn.hpp36 template <typename T, typename Executor>
37 struct awaitable_signature<awaitable<T, Executor>>
42 template <typename Executor>
43 struct awaitable_signature<awaitable<void, Executor>>
100 template <typename Executor, typename T, typename AwaitableExecutor,
103 BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(Executor)>
106 co_spawn(const Executor& ex, awaitable<T, AwaitableExecutor> a,
108 BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(Executor),
110 (is_executor<Executor>::value || execution::is_executor<Executor>::value)
111 && is_convertible<Executor, AwaitableExecutor>::value
[all …]
Dexecutor_work_guard.hpp35 template <typename Executor, typename = void, typename = void>
43 template <typename Executor>
45 template <typename Executor, typename, typename>
51 typedef Executor executor_type;
76 : executor_(BOOST_ASIO_MOVE_CAST(Executor)(other.executor_)), in executor_work_guard()
130 template <typename Executor>
131 class executor_work_guard<Executor,
133 !is_executor<Executor>::value
136 execution::is_executor<Executor>::value
140 typedef Executor executor_type;
[all …]
Dbind_executor.hpp156 template <typename T, typename Executor, bool UsesExecutor>
159 template <typename T, typename Executor>
160 class executor_binder_base<T, Executor, true>
170 Executor executor_;
174 template <typename T, typename Executor>
175 class executor_binder_base<T, Executor, false>
185 Executor executor_;
208 template <typename T, typename Executor>
215 T, Executor, uses_executor<T, Executor>::value>
223 typedef Executor executor_type;
[all …]
/third_party/boost/boost/beast/core/detail/
Dwork_guard.hpp12 template<class Executor, class Enable = void>
15 template<class Executor>
17 select_work_guard<Executor>::type;
20 template<class Executor>
23 Executor,
26 net::is_executor<Executor>::value
30 using type = net::executor_work_guard<Executor>;
34 template<class Executor>
38 net::prefer(std::declval<Executor const&>(),
41 execution_work_guard(Executor const& exec) in execution_work_guard()
[all …]
/third_party/boost/libs/beast/include/boost/beast/core/detail/
Dwork_guard.hpp12 template<class Executor, class Enable = void>
15 template<class Executor>
17 select_work_guard<Executor>::type;
20 template<class Executor>
23 Executor,
26 net::is_executor<Executor>::value
30 using type = net::executor_work_guard<Executor>;
34 template<class Executor>
38 net::prefer(std::declval<Executor const&>(),
41 execution_work_guard(Executor const& exec) in execution_work_guard()
[all …]
/third_party/boost/libs/beast/include/boost/beast/_experimental/test/impl/
Dstream.ipp26 template<class Executor>
27 void basic_stream<Executor>::initiate_read(
70 template<class Executor>
71 basic_stream<Executor>::
78 template<class Executor>
79 basic_stream<Executor>::
90 template<class Executor>
91 basic_stream<Executor>&
92 basic_stream<Executor>::
107 template<class Executor>
[all …]
/third_party/boost/boost/beast/_experimental/test/impl/
Dstream.ipp26 template<class Executor>
27 void basic_stream<Executor>::initiate_read(
70 template<class Executor>
71 basic_stream<Executor>::
78 template<class Executor>
79 basic_stream<Executor>::
90 template<class Executor>
91 basic_stream<Executor>&
92 basic_stream<Executor>::
107 template<class Executor>
[all …]
/third_party/boost/boost/process/detail/posix/
Dpipe_out.hpp34 template<typename Executor>
35 void on_error(Executor &, const std::error_code &) const in on_error()
40 template<typename Executor>
41 void on_success(Executor &) const in on_success()
46 template <typename Executor>
47 void on_exec_setup(Executor &e) const;
51 template<typename Executor>
52 void pipe_out<1,-1>::on_exec_setup(Executor &e) const in on_exec_setup()
63 template<typename Executor>
64 void pipe_out<2,-1>::on_exec_setup(Executor &e) const in on_exec_setup()
[all …]
/third_party/boost/boost/asio/detail/impl/
Dstrand_executor_service.hpp73 template <typename Executor>
74 class strand_executor_service::invoker<Executor,
76 execution::is_executor<Executor>::value
80 invoker(const implementation_type& impl, Executor& ex) in invoker()
131 Executor,
142 template <typename Executor>
143 class strand_executor_service::invoker<Executor,
145 !execution::is_executor<Executor>::value
149 invoker(const implementation_type& impl, Executor& ex) in invoker()
164 work_(BOOST_ASIO_MOVE_CAST(executor_work_guard<Executor>)(other.work_)) in invoker()
[all …]
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dstrand_executor_service.hpp73 template <typename Executor>
74 class strand_executor_service::invoker<Executor,
76 execution::is_executor<Executor>::value
80 invoker(const implementation_type& impl, Executor& ex) in invoker()
131 Executor,
142 template <typename Executor>
143 class strand_executor_service::invoker<Executor,
145 !execution::is_executor<Executor>::value
149 invoker(const implementation_type& impl, Executor& ex) in invoker()
164 work_(BOOST_ASIO_MOVE_CAST(executor_work_guard<Executor>)(other.work_)) in invoker()
[all …]

12345678910>>...15