2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-19 04:02:09 +00:00

17 Commits

Author SHA1 Message Date
Christopher Kohlhoff
82c9b858c8 Add execution::inline_exception_handling property. 2025-10-29 22:57:58 +11:00
Christopher Kohlhoff
6b4bcb9dd3 Add allocator support to execution contexts. 2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
1afbc5c12b Update copyright notices. 2025-03-04 22:57:26 +11:00
Christopher Kohlhoff
dc8dc3e192 Add execution_context::service_maker abstract base class.
A service_maker is an object that is passed to an execution context's
constructor, and allows services to be added at context construction
time. Additional constructor overloads have been added to io_context and
thread_pool that accept a service_maker. For example:

  class my_service_maker : public execution_context::service_maker
  {
  public:
    void make(execution_context& ctx) override
    {
      make_service<my_service>(ctx);
    }
  };

  io_context ctx{my_service_maker{}};
2024-10-30 23:00:28 +11:00
Christopher Kohlhoff
c36d3ef338 Update copyright notices. 2024-03-05 07:51:17 +11:00
Christopher Kohlhoff
eae55c14d3 Remove deprecated execution functionality. 2023-10-26 00:43:05 +11:00
Christopher Kohlhoff
5c19f29294 Require C++11 as the minimum c++ standard. 2023-10-26 00:43:05 +11:00
Christopher Kohlhoff
35e93e4e90 Update copyright notices. 2023-03-01 23:03:03 +11:00
Christopher Kohlhoff
8603d5c39b Deprecate concepts, traits, functions and customisation points related to senders and receivers. 2022-11-01 11:00:15 +11:00
Christopher Kohlhoff
17e08c23fe Deprecate execution::execute member function.
Use execute as a member function.
2022-11-01 10:44:37 +11:00
Christopher Kohlhoff
ff58013a23 Update copyright notices. 2022-03-02 21:23:52 +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
b840adb353 Add bulk_execute() to thread_pool executor. 2020-07-02 00:24:34 +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
0a662cb309 Add static_thread_pool (as thread_pool in standard executor form). 2020-06-23 10:36:49 +10:00
Christopher Kohlhoff
f34dd4cf2b Add unit test for thread_pool. 2020-06-22 20:55:57 +10:00