| /third_party/boost/doc/html/boost_asio/reference/executor/ |
| D | executor.html | 4 <title>executor::executor</title> 8 <link rel="up" href="../executor.html" title="executor"> 9 <link rel="prev" href="dispatch.html" title="executor::dispatch"> 10 <link rel="next" href="executor/overload1.html" title="executor::executor (1 of 6 overloads)"> 23 …executor.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href=… 27 …e="boost_asio.reference.executor.executor"></a><a class="link" href="executor.html" title="executo… 30 <a class="indexterm" name="boost_asio.indexterm.executor.executor"></a> 33 …rogramlisting"><a class="link" href="executor/overload1.html" title="executor::executor (1 of 6 ov… 34 …<span class="emphasis"><em>» <a class="link" href="executor/overload1.html" title="executor::execu… 39 …rogramlisting"><a class="link" href="executor/overload2.html" title="executor::executor (2 of 6 ov… [all …]
|
| D | operator_eq_.html | 4 <title>executor::operator=</title> 8 <link rel="up" href="../executor.html" title="executor"> 9 <link rel="prev" href="operator_not__eq_.html" title="executor::operator!="> 10 <link rel="next" href="operator_eq_/overload1.html" title="executor::operator= (1 of 4 overloads)"> 23 …../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../executor.html"><img src=".… 27 …e="boost_asio.reference.executor.operator_eq_"></a><a class="link" href="operator_eq_.html" title=… 30 <a class="indexterm" name="boost_asio.indexterm.executor.operator_eq_"></a> 33 <pre class="programlisting">executor & <a class="link" href="operator_eq_/overload1.html" title… 34 const executor & other); 35 …<span class="emphasis"><em>» <a class="link" href="operator_eq_/overload1.html" title="executor::o… [all …]
|
| /third_party/boost/boost/asio/ |
| D | executor.hpp | 2 // executor.hpp 34 /// Exception thrown when trying to access an empty polymorphic executor. 48 class executor class 52 executor() BOOST_ASIO_NOEXCEPT in executor() function in boost::asio::executor 58 executor(nullptr_t) BOOST_ASIO_NOEXCEPT in executor() function in boost::asio::executor 64 executor(const executor& other) BOOST_ASIO_NOEXCEPT in executor() function in boost::asio::executor 71 executor(executor&& other) BOOST_ASIO_NOEXCEPT in executor() function in boost::asio::executor 78 /// Construct a polymorphic wrapper for the specified executor. 79 template <typename Executor> 80 executor(Executor e); [all …]
|
| D | strand.hpp | 21 #include <boost/asio/execution/executor.hpp> 29 /// Provides serialised function invocation for any executor type. 30 template <typename Executor> 34 /// The type of the underlying executor. 35 typedef Executor inner_executor_type; 39 * This constructor is only valid if the underlying executor type is default 48 /// Construct a strand for the specified executor. 54 is_convertible<Executor1, Executor>, in strand() argument 73 * to @c Executor. 94 * convertible to @c Executor. [all …]
|
| D | executor_work_guard.hpp | 35 template <typename Executor, typename = void> 40 /// An object of type @c executor_work_guard controls ownership of executor work 43 template <typename Executor> 45 template <typename Executor, typename> 50 /// The underlying executor type. 51 typedef Executor executor_type; 53 /// Constructs a @c executor_work_guard object for the specified executor. 76 : executor_(BOOST_ASIO_MOVE_CAST(Executor)(other.executor_)), in executor_work_guard() 86 * calls <tt>on_work_finished()</tt> on the stored executor. 94 /// Obtain the associated executor. [all …]
|
| D | bind_executor.hpp | 24 #include <boost/asio/execution/executor.hpp> 156 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_; 206 /// A call wrapper type to bind an executor of type @c Executor to an object of 208 template <typename T, typename Executor> [all …]
|
| D | associated_executor.hpp | 20 #include <boost/asio/execution/executor.hpp> 57 /// Traits type used to obtain the executor associated with an object. 61 * Executor shall be a type meeting the Executor requirements. 65 * Executor. 68 * Executor requirements. 76 template <typename T, typename Executor = system_executor> 79 : detail::associated_executor_impl<T, Executor> 84 /// Otherwise @c Executor. 90 const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT; 94 /// Helper function to obtain an object's associated executor. [all …]
|
| /third_party/boost/doc/html/boost_asio/reference/ |
| D | executor.html | 4 <title>executor</title> 10 <link rel="next" href="executor/context.html" title="executor::context"> 23 …../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="executor/context.html"><im… 27 <a name="boost_asio.reference.executor"></a><a class="link" href="executor.html" title="executor">e… 32 <pre class="programlisting">class executor 35 <a name="boost_asio.reference.executor.h0"></a> 36 …<a name="boost_asio.reference.executor.types"></a></span><a class="link" href="executor.html#boost… 59 …<a class="link" href="executor__unspecified_bool_type_t.html" title="executor::unspecified_bool_ty… 68 …<a class="link" href="executor/unspecified_bool_type.html" title="executor::unspecified_bool_type"… 77 <a name="boost_asio.reference.executor.h1"></a> [all …]
|
| /third_party/boost/boost/asio/impl/ |
| D | use_awaitable.hpp | 27 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 …]
|
| D | co_spawn.hpp | 32 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 …]
|
| D | executor.hpp | 2 // impl/executor.hpp 26 #include <boost/asio/executor.hpp> 36 // Default polymorphic executor implementation. 37 template <typename Executor, typename Allocator> 38 class executor::impl 39 : public executor::impl_base 44 static impl_base* create(const Executor& e, Allocator a = Allocator()) in create() 52 impl(const Executor& e, const Allocator& a) BOOST_ASIO_NOEXCEPT in impl() 109 return type_id<Executor>(); in target_type() 128 return executor_ == *static_cast<const Executor*>(e->target()); in equals() [all …]
|
| D | connect.hpp | 106 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 …]
|
| D | awaitable.hpp | 38 // All execution occurs in the context of the awaitable_thread's executor. An 72 template <typename Executor> 151 auto await_transform(awaitable<T, Executor> a) const in await_transform() 156 // This await transformation obtains the associated executor of the thread of 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; [all …]
|
| /third_party/boost/boost/beast/core/detail/ |
| D | work_guard.hpp | 12 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/python/Lib/test/ |
| D | test_concurrent_futures.py | 119 self.executor = self.executor_type( 124 self.executor = self.executor_type( 130 self.executor.shutdown(wait=True) 131 self.executor = None 144 # Make sure that the executor is ready to do work before running the 146 futures = [self.executor.submit(time.sleep, 0.1) 212 futures = [self.executor.submit(get_init_status) 240 future = self.executor.submit(get_init_status) 242 # Perhaps the executor is already broken 247 # At some point, the executor should break [all …]
|
| /third_party/boost/boost/thread/executors/ |
| D | scheduler.hpp | 29 …/// Wraps the reference to an executor and a function to make a work that submit the function usin… 30 template <class Executor, class Function> 34 resubmitter(Executor& ex, Function funct) : in resubmitter() 45 Executor& ex; 50 template <class Executor, class Function> 51 resubmitter<Executor, typename decay<Function>::type> 52 resubmit(Executor& ex, BOOST_THREAD_FWD_REF(Function) funct) { in resubmit() 53 return resubmitter<Executor, typename decay<Function>::type >(ex, boost::move(funct)); in resubmit() 56 /// Wraps references to a @c Scheduler and an @c Executor providing an @c Executor that 57 …/// resubmit the function using the referenced Executor at a given @c time_point known at construc… [all …]
|
| /third_party/boost/libs/thread/doc/ |
| D | async_executors.qbk | 15 ….Thread differs from N3785 mainly in the an Executor doesn't needs to inherit from an abstract cla… 22 …executor objects. This allows programs to start executors when necessary, switch from one executor… 34 …executor, in which one thread donates itself to the executor to execute all queued work. This is r… 35 …executor, where a GUI framework can expose an executor interface to allow other threads to queue u… 37 …executor, but always uses the caller’s thread to execute. This allows parallel execution of works,… 39 …executor (e.g. the thread pool) to have more precise control of where the work is executed due to … 115 …executor class we make executor concepts. We believe that this is the good direction as a static p… 119 …Executor is an object that schedules the closures that have been submitted to it, usually asynchro… 121 * Thread pools are well know models of the Executor concept, and this library does indeed include a… 123 …executor to use is explicit. This is important for reasons described in the Motivation section. In… [all …]
|
| /third_party/grpc/src/core/lib/iomgr/ |
| D | executor.cc | 21 #include "src/core/lib/iomgr/executor.h" 42 gpr_log(GPR_INFO, "EXECUTOR " format, __VA_ARGS__); \ 49 gpr_log(GPR_INFO, "EXECUTOR " str); \ 58 Executor* executors[static_cast<size_t>(ExecutorType::NUM_EXECUTORS)]; 90 TraceFlag executor_trace(false, "executor"); 92 Executor::Executor(const char* name) : name_(name) { in Executor() function in grpc_core::Executor 98 void Executor::Init() { SetThreading(true); } in Init() 100 size_t Executor::RunClosures(const char* executor_name, in RunClosures() 104 // In the executor, the ExecCtx for the thread is declared in the executor in RunClosures() 110 // the executor's closure list (which were explicitly scheduled onto the in RunClosures() [all …]
|
| /third_party/boost/boost/asio/detail/ |
| D | handler_work.hpp | 25 #include <boost/asio/execution/executor.hpp> 35 class executor; 54 template <typename Executor, typename CandidateExecutor = void, 56 typename PolymorphicExecutor = executor, typename = void> 60 explicit handler_work_base(const Executor& ex) BOOST_ASIO_NOEXCEPT in handler_work_base() 66 handler_work_base(const Executor& ex, in handler_work_base() 101 typename prefer_result<Executor, 109 template <typename Executor, typename CandidateExecutor, 111 class handler_work_base<Executor, CandidateExecutor, 114 !execution::is_executor<Executor>::value [all …]
|
| /third_party/boost/boost/process/detail/posix/ |
| D | pipe_out.hpp | 34 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 …]
|
| D | executor.hpp | 31 template<typename Executor> 34 Executor & exec; 35 on_setup_t(Executor & exec) : exec(exec) {}; in on_setup_t() 44 template<typename Executor> 47 Executor & exec; 49 on_error_t(Executor & exec, const std::error_code & error) : exec(exec), error(error) {}; in on_error_t() 57 template<typename Executor> 60 Executor & exec; 61 on_success_t(Executor & exec) : exec(exec) {}; in on_success_t() 68 template<typename Executor> [all …]
|
| /third_party/boost/libs/asio/doc/ |
| D | std_executors.qbk | 14 Just as with executors under the Networking TS model, a standard executor 18 [heading Standard Executor Implementations in Boost.Asio] 27 [heading Standard Executor Use in Boost.Asio] 39 implementation determines at compile time which model a particular executor 40 meets; the proposed standard executor model is used in preference if both are 46 [heading Polymorphic I/O Executor] 49 default runtime-polymorphic executor for all I/O objects. This type alias 55 wrapper, [link boost_asio.reference.executor `executor`]. If required for backward 57 the `any_io_executor` type alias to instead point to the `executor` polymorphic 60 [heading Implementing a Minimal I/O Executor] [all …]
|
| /third_party/boost/libs/asio/doc/requirements/ |
| D | Executor.qbk | 8 [section:Executor1 Executor requirements] 12 Let `executor-of-impl` be the exposition-only concept 15 concept executor-of-impl = 26 Then the `executor` and `executor_of` concepts are defined as follows: 29 concept executor = 30 executor-of-impl<E, execution::invocable_archetype>; 34 executor<E> && 35 executor-of-impl<E, F>; 37 Neither an executor's equality comparison nor `swap` operation shall exit via 40 None of an executor type's copy constructor, destructor, equality comparison, [all …]
|
| /third_party/boost/doc/html/boost_asio/reference/executor/executor/ |
| D | overload5.html | 4 <title>executor::executor (5 of 6 overloads)</title> 8 <link rel="up" href="../executor.html" title="executor::executor"> 9 <link rel="prev" href="overload4.html" title="executor::executor (4 of 6 overloads)"> 10 <link rel="next" href="overload6.html" title="executor::executor (6 of 6 overloads)"> 23 …../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../executor.html"><img src=".… 27 …eference.executor.executor.overload5"></a><a class="link" href="overload5.html" title="executor::e… 31 Construct a polymorphic wrapper for the specified executor. 34 …typename <a class="link" href="../../Executor1.html" title="Executor requirements">Executor</a>> 35 executor( 36 Executor e); [all …]
|
| /third_party/boost/libs/asio/test/execution/ |
| D | executor.cpp | 2 // executor.cpp 17 #include <boost/asio/execution/executor.hpp> 25 struct executor struct 27 executor() in executor() function 31 executor(const executor&) BOOST_ASIO_NOEXCEPT in executor() argument 36 executor(executor&&) BOOST_ASIO_NOEXCEPT in executor() function 47 bool operator==(const executor&) const BOOST_ASIO_NOEXCEPT in operator ==() argument 52 bool operator!=(const executor&) const BOOST_ASIO_NOEXCEPT in operator !=() argument 65 struct execute_member<executor, F> 76 struct equality_comparable<executor> [all …]
|