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

2342 Commits

Author SHA1 Message Date
Christopher Kohlhoff
c802a01950 Fix doc typos. 2025-10-30 20:41:37 +11:00
Christopher Kohlhoff
6f4232ffcb Remove tabs. 2025-10-30 20:41:19 +11:00
Christopher Kohlhoff
893e569bbd Change inline_or_executor to use blocking.always by default. 2025-10-30 20:41:07 +11:00
Christopher Kohlhoff
5fa261e86d Add inline_or_executor<> and inline_or(). 2025-10-30 08:28:04 +11:00
Christopher Kohlhoff
ca8e124b87 Make inline_executor the default candidate for associated_executor. 2025-10-29 22:59:03 +11:00
Christopher Kohlhoff
84c45dbe48 Add inline_executor. 2025-10-29 22:58:47 +11:00
Christopher Kohlhoff
82c9b858c8 Add execution::inline_exception_handling property. 2025-10-29 22:57:58 +11:00
Christopher Kohlhoff
77d09d001d Add dispatch, post and defer overloads that run a function before completion. 2025-10-29 22:56:44 +11:00
Christopher Kohlhoff
44722ea024 Version bump. 2025-08-06 22:32:43 +10:00
Christopher Kohlhoff
60cae1d006 Revision history. 2025-08-06 22:29:48 +10:00
Christopher Kohlhoff
a96885268f Add documentation note on basic_signal_set's async signal safety. 2025-08-06 22:16:18 +10:00
Christopher Kohlhoff
7f60f27824 Work around warning that occurs when building with _FORTIFY_SOURCE. 2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
62e5597bc3 Some platforms don't define SA_NOCLDWAIT. 2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
476c57246d Fix coroutine compile error with MSVC-like compile by clang. 2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
82c4515cd4 Fix compilation issue with Bullseye compiler. 2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
cd2b1b37ff Fix compilation errors in channel<void(error_code)>. 2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
a1e7ad07c9 Add missing noreturn attribute to throw_exception. 2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
7e51960177 Make co_spawn adhere to async op requirement for non-reentrant completion.
Previously, co_spawn-ing the following coroutine:

  awaitable<void> foo()
  {
    co_await dispatch(use_awaitable);
  }

would result in a call to the completion handler from within co_spawn.
2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
419a06e978 Restore "own thread" support in scheduler.
This is still required when the scheduler is used as a lazily
initialised service.
2025-08-05 08:09:27 +10:00
Christopher Kohlhoff
6a448ba050 Version bump. 2025-07-09 21:30:39 +10:00
Christopher Kohlhoff
24d13e8270 Revision history. 2025-07-09 21:29:02 +10:00
Christopher Kohlhoff
f8aed31b15 Regenerate documentation. 2025-07-09 20:50:16 +10:00
Christopher Kohlhoff
4824c0b3ce Fix shadow variable warnings. 2025-07-09 09:13:26 +10:00
Christopher Kohlhoff
751cec5701 Make BOOST_ASIO_CONCURRENCY_HINT_SAFE consistent with io_context default constructor.
Also fixed docs for BOOST_ASIO_CONCURRENCY_HINT_UNSAFE_IO to reflect
that registration locking is still enabled.
2025-07-09 09:12:53 +10:00
Christopher Kohlhoff
a55928d4d5 Fix conflicting pipe name in independent plug-in DLLs.
Added a numerical representation of a local static variable's address to
the pipe name, to discriminate asio instances in independent DLLs.
2025-07-08 09:06:09 +10:00
Christopher Kohlhoff
be4af2d923 Add separate build targets for optional dependencies. 2025-07-08 09:06:09 +10:00
Christopher Kohlhoff
3af71e965c Fix build error in serialization example. 2025-07-07 21:07:45 +10:00
Christopher Kohlhoff
cb99678035 Remove deadline_timer and time_traits from the convenience header. 2025-07-07 20:44:27 +10:00
Christopher Kohlhoff
967f6824ef Fix boostification damage. 2025-07-03 08:50:49 +10:00
Christopher Kohlhoff
9e11596f81 Allow async_resolve to use a configurable number of internal threads.
The number of threads used to emulate asynchronous address resolution is
now adjustable via the "resolver" / "threads" configuration option. If
this is set to a non-zero value, that number of threads will be created
when the first resolver object is constructed. Otherwise, it defaults to
a single thread that is created on the first call to async_resolve.
2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
cd0a9eb990 Remove unused scheduler data members. 2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
a50d0e7246 Use execution_context allocator in timer queues.
Added new configuration parameter "timer" / "heap_reserve" that may be
used to reserve space in the vector used for a timer queue's heap.
2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
9541d6a3a3 Extend allocation example to cover execution_context allocation. 2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
d26f76aced Use execution_context allocator for object pooling in reactors. 2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
b73da48d50 Use execution_context allocator in strand implementation. 2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
6b4bcb9dd3 Add allocator support to execution contexts. 2025-07-02 20:43:27 +10:00
Christopher Kohlhoff
62864c570a Version bump. 2025-04-02 23:31:19 +11:00
Christopher Kohlhoff
46efdf66be Revision history. 2025-04-02 23:31:14 +11:00
Christopher Kohlhoff
e0999c67fc Regenerate documentation. 2025-04-02 23:31:09 +11:00
Christopher Kohlhoff
960482db0f Fix broken links in documentation. 2025-04-02 23:30:56 +11:00
Christopher Kohlhoff
6dad896196 Add runtime configuration options to the overview. 2025-04-02 21:22:57 +11:00
Christopher Kohlhoff
0f309bb273 Update use of deferred in overview. 2025-04-01 22:02:47 +11:00
Christopher Kohlhoff
882f4631f9 Fix ambiguous overloads when using std::span with asio::buffer. 2025-04-01 22:02:47 +11:00
Christopher Kohlhoff
a8ac04d8d6 Update async_result documentation to reflect current type requirements. 2025-04-01 22:02:47 +11:00
Christopher Kohlhoff
2af02fa2c8 Version bump. 2025-03-05 23:03:22 +11:00
Christopher Kohlhoff
726fdd4d69 Revision history. 2025-03-05 23:02:50 +11:00
Christopher Kohlhoff
b78feea7ee Add missing header. 2025-03-04 23:41:14 +11:00
Christopher Kohlhoff
84e36b57ac Fix signed/unsigned warning. 2025-03-04 23:04:12 +11:00
Christopher Kohlhoff
30b5974ed3 Fix uninitialised member in thread_pool default constructor. 2025-03-04 23:03:59 +11:00
Christopher Kohlhoff
391c3d116f Clear errno before strtoll/strtoull. 2025-03-04 23:03:42 +11:00