2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-19 16:12:09 +00:00
Commit Graph

241 Commits

Author SHA1 Message Date
Christopher Kohlhoff
059c40e935 Add initiate-based completion token support to bind_executor. 2021-06-05 17:43:31 +10:00
Christopher Kohlhoff
0b0b904883 Add std::hash specialisations for ip::basic_endpoint<>. 2021-02-25 08:37:47 +11:00
Christopher Kohlhoff
eed38fbe97 Add std::hash specialisations for IP addresses. 2021-02-25 08:35:32 +11:00
Christopher Kohlhoff
723982b867 Update copyright notices. 2021-02-25 08:29:05 +11:00
Christopher Kohlhoff
fc4546c8d3 Fix thread_pool test to work with BOOST_ASIO_NO_TYPEID (i.e. no RTTI). 2020-11-02 14:03:09 +11:00
Christopher Kohlhoff
517e25cdcb Ensure concept-related traits work with void. 2020-07-31 18:47:51 +10:00
Christopher Kohlhoff
543c453423 Make blocking_t::always_t::is_preferable false as per specification. 2020-07-28 22:16:24 +10:00
Christopher Kohlhoff
95da815545 Add standard executor support to windows::overlapped_ptr. 2020-07-23 21:54:16 +10:00
Christopher Kohlhoff
04e1412d68 Fix uninitialised variable. 2020-07-23 21:51:38 +10:00
Christopher Kohlhoff
d497ba96c6 Rename the customisation point traits X_result_type to X_result.
For consistency with std::invoke_result, drop the _type suffix from all
traits that deduce the result type of a customisation point expression.
2020-07-06 23:33:14 +10:00
Christopher Kohlhoff
253f0130d3 Test any_executor construction and assignment with large targets. 2020-07-06 00:46:54 +10:00
Christopher Kohlhoff
98107ffb09 Use the execution::execute() customisation point for any_executor's target. 2020-07-04 14:46:54 +10:00
Christopher Kohlhoff
5a69376da9 Add missing adapter support to execution::bulk_execute() customisation point. 2020-07-04 01:24:01 +10:00
Christopher Kohlhoff
2e9621e8ba Add missing member and non-member swap to any_executor. 2020-07-04 01:23:11 +10:00
Christopher Kohlhoff
9af6e05eb5 Add missing equality/inequality operators to any_executor. 2020-07-04 01:22:56 +10:00
Christopher Kohlhoff
8f755ac905 Add missing any_executor constructor/assignment overloads. 2020-07-03 14:45:46 +10:00
Christopher Kohlhoff
b840adb353 Add bulk_execute() to thread_pool executor. 2020-07-02 00:24:34 +10:00
Christopher Kohlhoff
38514aca66 Add execution::bulk_execute customisation point object. 2020-07-02 00:23:04 +10:00
Christopher Kohlhoff
9a1f89d748 Add adapter for execution::blocking_adaptation_t::allowed_t. 2020-07-02 00:17:51 +10:00
Christopher Kohlhoff
3c8097af00 Add execution::typed_sender concept and execution::is_typed_sender trait. 2020-07-01 13:58:58 +10:00
Christopher Kohlhoff
00248b6739 Add scheduler and sender support to thread_pool.
The thread_pool::basic_executor_type class template is used as the
implementation for both the scheduler and sender types.
2020-06-30 22:39:08 +10:00
Christopher Kohlhoff
19c06f6931 Add execution::scheduler concept and execution::is_scheduler trait. 2020-06-30 22:39:08 +10:00
Christopher Kohlhoff
e93522cf35 Add execution::executor_index trait. 2020-06-30 22:38:09 +10:00
Christopher Kohlhoff
49a3e6c628 Add execution::executor_shape trait. 2020-06-30 22:38:09 +10:00
Christopher Kohlhoff
8081d7ee9d Add execution::schedule() customisation point object. 2020-06-30 22:38:09 +10:00
Christopher Kohlhoff
75b2c02896 Add execution::execute() support for adapting senders. 2020-06-30 22:38:09 +10:00
Christopher Kohlhoff
76789c2324 Add execution::submit() customisation point object. 2020-06-30 22:38:09 +10:00
Christopher Kohlhoff
c27c6f2af8 Change execution::sender_traits to recognise executors as senders. 2020-06-30 22:38:09 +10:00
Christopher Kohlhoff
7edcde3d97 Add execution::connect() customisation point object. 2020-06-30 22:15:35 +10:00
Christopher Kohlhoff
63d35468c0 Add execution::sender concepts and traits.
This change adds the concept:

  * execution::sender

the traits:

  * execution::sender_traits

and the tag type:

  * execution::sender_base

It also adds the following traits that correspond to the concepts:

  * execution::is_sender
2020-06-30 22:09:19 +10:00
Christopher Kohlhoff
4569c722ec Add execution::operation_state concept and execution::is_operation_state trait. 2020-06-30 22:08:19 +10:00
Christopher Kohlhoff
ca3a44ea3c Add execution::start() customisation point object. 2020-06-30 22:07:21 +10:00
Christopher Kohlhoff
36a811264d Add execution::executor_of concept and execution::is_executor trait. 2020-06-30 22:06:22 +10:00
Christopher Kohlhoff
4d8e791a8f Add execution::receiver concepts and traits.
This change adds the concepts:

  * execution::receiver
  * execution::receiver_of

and the trait:

  * execution::is_nothrow_receiver_of

It also adds the following traits that correspond to the concepts:

  * execution::is_receiver
  * execution::is_receiver_of
2020-06-30 22:02:21 +10:00
Christopher Kohlhoff
b68f15843c Add execution::set_value() customisation point object. 2020-06-30 21:55:37 +10:00
Christopher Kohlhoff
bd5acb1d51 Add execution::set_done() customisation point object. 2020-06-30 21:54:13 +10:00
Christopher Kohlhoff
3a22a4fb7b Add execution::set_error() customisation point object. 2020-06-30 21:52:51 +10:00
Christopher Kohlhoff
fcd09b9c81 Build execution tests. 2020-06-26 16:42:45 +10:00
Christopher Kohlhoff
3fc1f87a2b Add standard executor support to strand<>. 2020-06-23 11:08:25 +10:00
Christopher Kohlhoff
95eb4eb16c Update system_executor to standard executor form. 2020-06-23 11:08:25 +10:00
Christopher Kohlhoff
121e8aa610 Update io_context::executor_type to standard executor form. 2020-06-23 11:08:25 +10:00
Christopher Kohlhoff
0a662cb309 Add static_thread_pool (as thread_pool in standard executor form). 2020-06-23 10:36:49 +10:00
Christopher Kohlhoff
ac7e13f51b Add execution::context_as property adapter. 2020-06-23 10:36:49 +10:00
Christopher Kohlhoff
d2cb3bbdc6 Add execution::prefer_only property adapter. 2020-06-23 10:36:49 +10:00
Christopher Kohlhoff
3783cc1093 Add execution::any_executor. 2020-06-23 10:36:49 +10:00
Christopher Kohlhoff
74a13e9920 Add execution::bulk_guarantee property. 2020-06-22 23:16:39 +10:00
Christopher Kohlhoff
3f90ca5cb2 Add execution::blocking_adaptation property. 2020-06-22 23:16:39 +10:00
Christopher Kohlhoff
bfeec7cd2b Add execution::relationship property. 2020-06-22 23:16:39 +10:00
Christopher Kohlhoff
3d5209fa19 Add execution::mapping property. 2020-06-22 23:16:39 +10:00
Christopher Kohlhoff
50e3e1798d Add execution::outstanding_work property. 2020-06-22 23:16:39 +10:00