3686 Commits

Author SHA1 Message Date
Christopher Kohlhoff
55684d42ac Update doc generation config. 2025-11-05 20:39:57 +11:00
Christopher Kohlhoff
cd774cadbc Fix typos in overview documentation. 2025-11-05 20:39:42 +11:00
Christopher Kohlhoff
1916ff6568 Add config option to determine whether eventfd is used.
Add a new configuration option "reactor" / "use_eventfd" that is used by
the epoll_reactor. When true (the default), the reactor uses an eventfd
as its select_interrupter implementation. When false, a pipe is used
instead.
2025-11-05 19:38:18 +11:00
Christopher Kohlhoff
fb037cfc73 Add config option to determine whether timerfd is used.
Add a new configuration option "reactor" / "use_timerfd" that is used by
the epoll_reactor. When true (the default), the reactor uses a timerfd
descriptor to manage timeouts. When false, the duration until the next
timeout is computed and passed as a timeout to epoll_wait.
2025-11-05 19:29:48 +11:00
Christopher Kohlhoff
6ca87cc9c2 Fix documentation typos. 2025-11-04 23:46:08 +11:00
Christopher Kohlhoff
f2b63f709d Disable deprecated messages when building tests. 2025-11-04 23:46:08 +11:00
Christopher Kohlhoff
1b4848ff99 Add config option for whether a partial read consumes an edge trigger.
Add a new configuration option "reactor" / "reset_edge_on_partial_read"
that is used by the epoll_reactor. When true, it indicates that a partial
read should be considered to have consumed the edge. The default value of
false corresponds to the existing behaviour, where the edge is only
treated as consumed when the read fails with EAGAIN.
2025-11-04 23:46:08 +11:00
Christopher Kohlhoff
10f8161951 Fix handler tracking args passed in io_uring backend. 2025-11-04 23:46:08 +11:00
Christopher Kohlhoff
73b9a37097 Fix unused parameter warning. 2025-11-04 23:46:08 +11:00
Nerixyz
9377ccbade Annotate deprecated items with [[deprecated]]. 2025-11-04 23:46:08 +11:00
Christopher Kohlhoff
38e5af9733 Add missing preprocessor check for ASIO_DISABLE_TIMERFD. 2025-11-04 23:46:08 +11:00
Christopher Kohlhoff
c1936414f5 Enable error condition support for asio::system_category. 2025-11-04 23:46:07 +11:00
Christopher Kohlhoff
5161a17c4d Add default completion token to 1-arg overloads of dispatch, post and defer. 2025-11-01 12:39:04 +11:00
Christopher Kohlhoff
5b0258544d Implement feature check for std::source_location. 2025-10-31 21:17:58 +11:00
Christopher Kohlhoff
c11e75c0d0 Add missing include. 2025-10-31 21:06:57 +11:00
Christopher Kohlhoff
107fb36755 Fix thread sanitizer issue in kqueue_reactor. 2025-10-31 20:54:56 +11:00
Artyom Kolpakov
0919c871f4 Fix resource leak in asio::awaitable move assignment.
awaitable::operator= did not destroy the existing frame.
2025-10-31 20:26:13 +11:00
Mohammad Nejati
ae93ce63bb Fix memory leak in ssl::detail::engine move assignment. 2025-10-31 20:24:55 +11:00
Christopher Kohlhoff
71ea5dcf52 Add redirect_disposition completion token adapter. 2025-10-31 19:59:34 +11:00
Christopher Kohlhoff
c46d3c2b5b Don't use deprecated function boost::array::c_array(). 2025-10-30 20:13:43 +11:00
Christopher Kohlhoff
2ceb2f0d84 Fix doc typos. 2025-10-30 20:13:43 +11:00
Christopher Kohlhoff
255cdfecdb Remove tabs. 2025-10-30 20:13:43 +11:00
Christopher Kohlhoff
f251893a34 Change inline_or_executor to use blocking.always by default. 2025-10-30 20:13:43 +11:00
Christopher Kohlhoff
d045163fce Add inline_or_executor<> and inline_or(). 2025-10-30 08:11:40 +11:00
Christopher Kohlhoff
ca29b7e3ea Add link to online docs. 2025-10-29 20:40:46 +11:00
Christopher Kohlhoff
fde2ddc575 Update boost version for Appveyor CI. 2025-10-29 20:40:46 +11:00
Christopher Kohlhoff
09aa7893f3 Remove -fcoroutines-ts flag from MacOS CI runner. 2025-10-29 20:40:46 +11:00
Christopher Kohlhoff
2c54acc915 Make inline_executor the default candidate for associated_executor. 2025-10-29 20:40:46 +11:00
Christopher Kohlhoff
6495d4b997 Add inline_executor. 2025-10-29 20:40:46 +11:00
Christopher Kohlhoff
c9e9fef0d1 Add execution::inline_exception_handling property. 2025-10-26 19:10:37 +11:00
Christopher Kohlhoff
e6ed2fcba9 Add dispatch, post and defer overloads that run a function before completion. 2025-10-26 19:10:37 +11:00
Christopher Kohlhoff
3f0a12d120 Add symbolic links for backwards compatibility.
N.B. On Windows this requires that the git core.symlinks option be set
to true, either globally or for this repository.
2025-10-26 13:21:23 +11:00
Christopher Kohlhoff
23d0ac3556 Update CI/CD config to match new directory structure. 2025-08-21 22:50:10 +10:00
Christopher Kohlhoff
0ceb0a8248 Update release script to match new directory structure. 2025-08-21 22:50:01 +10:00
Christopher Kohlhoff
6e85b61b49 Update .gitignore to match new directory structure. 2025-08-21 22:47:34 +10:00
Christopher Kohlhoff
5503632ee1 Rearrange directories to match distribution tarball. 2025-08-21 22:43:27 +10:00
Christopher Kohlhoff
231cb29bab asio version 1.36.0 released asio-1-36-0 2025-08-16 21:44:55 +10:00
Christopher Kohlhoff
7a1f3ed272 Revision history. 2025-08-16 21:37:02 +10:00
Christopher Kohlhoff
84b558d124 Add documentation note on basic_signal_set's async signal safety. 2025-08-06 22:12:03 +10:00
Christopher Kohlhoff
e80b69e291 Work around warning that occurs when building with _FORTIFY_SOURCE. 2025-08-05 08:08:39 +10:00
Christopher Kohlhoff
cdbadb8705 Some platforms don't define SA_NOCLDWAIT. 2025-08-05 08:08:39 +10:00
Dmitrii Dmitriev
9c79ccdfe8 Fix coroutine compile error with MSVC-like compile by clang. 2025-08-05 08:08:39 +10:00
Rajendra Singh
0ebaf6f52f Fix compilation issue with Bullseye compiler. 2025-08-05 08:08:39 +10:00
Christopher Kohlhoff
aaecb10b27 Fix compilation errors in channel<void(error_code)>. 2025-08-05 08:08:39 +10:00
Dmitry Igrishin
861b890e50 Add missing trailing curly bracket. 2025-08-05 08:08:39 +10:00
Christopher Kohlhoff
08af75923c Add missing noreturn attribute to throw_exception. 2025-08-05 08:08:39 +10:00
Christopher Kohlhoff
dd44890b0a 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:08:39 +10:00
Christopher Kohlhoff
6c5c2cbedd Restore "own thread" support in scheduler.
This is still required when the scheduler is used as a lazily
initialised service.
2025-08-05 08:08:39 +10:00
Christopher Kohlhoff
d971c9a74d asio version 1.35.0 released asio-1-35-0 2025-07-09 21:30:39 +10:00
Christopher Kohlhoff
b56f33094b Update release.pl to remove system Jamfile. 2025-08-03 10:46:51 +10:00