/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 …]
|
/third_party/boost/libs/asio/include/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 | 22 #include <boost/asio/execution/executor.hpp> 30 /// Provides serialised function invocation for any executor type. 31 template <typename Executor> 35 /// The type of the underlying executor. 36 typedef Executor inner_executor_type; 40 * This constructor is only valid if the underlying executor type is default 49 /// Construct a strand for the specified executor. 55 is_convertible<Executor1, Executor>, in strand() argument 74 * to @c Executor. 95 * convertible to @c 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/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 | 22 #include <boost/asio/execution/executor.hpp> 30 /// Provides serialised function invocation for any executor type. 31 template <typename Executor> 35 /// The type of the underlying executor. 36 typedef Executor inner_executor_type; 40 * This constructor is only valid if the underlying executor type is default 49 /// Construct a strand for the specified executor. 55 is_convertible<Executor1, Executor>, in strand() argument 74 * to @c Executor. 95 * convertible to @c 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 …]
|
/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 25 #include <boost/asio/executor.hpp> 35 // Default polymorphic executor implementation. 36 template <typename Executor, typename Allocator> 37 class executor::impl 38 : public executor::impl_base 43 static impl_base* create(const Executor& e, Allocator a = Allocator()) in create() 51 impl(const Executor& e, const Allocator& a) BOOST_ASIO_NOEXCEPT in impl() 108 return type_id<Executor>(); in target_type() 127 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 …]
|
/third_party/boost/libs/asio/include/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 25 #include <boost/asio/executor.hpp> 35 // Default polymorphic executor implementation. 36 template <typename Executor, typename Allocator> 37 class executor::impl 38 : public executor::impl_base 43 static impl_base* create(const Executor& e, Allocator a = Allocator()) in create() 51 impl(const Executor& e, const Allocator& a) BOOST_ASIO_NOEXCEPT in impl() 108 return type_id<Executor>(); in target_type() 127 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 …]
|
/third_party/python/Lib/test/ |
D | test_concurrent_futures.py | 120 self.executor = self.executor_type( 125 self.executor = self.executor_type( 131 self.executor.shutdown(wait=True) 132 self.executor = None 145 # Make sure that the executor is ready to do work before running the 147 futures = [self.executor.submit(time.sleep, 0.1) 228 futures = [self.executor.submit(get_init_status) 256 future = self.executor.submit(get_init_status) 258 # Perhaps the executor is already broken 263 # At some point, the executor should break [all …]
|
/third_party/boost/libs/beast/include/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/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/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/boost/beast/_experimental/test/impl/ |
D | stream.ipp | 26 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/libs/beast/include/boost/beast/_experimental/test/impl/ |
D | stream.ipp | 26 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/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 …]
|