2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-26 06:12:08 +00:00

Commit Graph

  • 256d56ca01 Regenerate documentation. Christopher Kohlhoff 2023-03-07 00:10:10 +11:00
  • e33be4b6b9 Fix execution context overloads of get_associated_executor and get_associated_immediate_executor. Christopher Kohlhoff 2023-03-06 23:40:16 +11:00
  • adfeed2b5d Add any_completion_handler to the documentation. Christopher Kohlhoff 2023-03-06 23:40:03 +11:00
  • 4b16652320 Reset timer_thread_ in win_iocp_io_context::shutdown(). Christopher Kohlhoff 2023-03-06 23:39:34 +11:00
  • d6cad8835e Expose sigaction() flags via optional argument to signal_set::add. Christopher Kohlhoff 2023-03-06 23:39:17 +11:00
  • c1269d1c82 Use uint64_t for OpenSSL options. Christopher Kohlhoff 2023-03-06 23:38:59 +11:00
  • db1af40f2b Fix spurious operator precedence warning with MSVC. Christopher Kohlhoff 2023-03-06 23:38:46 +11:00
  • 5f39737f5a Suppress spurious 'potential null dereference' warnings. Christopher Kohlhoff 2023-03-06 23:38:31 +11:00
  • 7f2743e0d1 Prevent accidental copying of any_completion_handler. Christopher Kohlhoff 2023-03-06 23:38:10 +11:00
  • d8e52891d4 Fix any_completion_handler assignment operator. Christopher Kohlhoff 2023-03-06 23:37:56 +11:00
  • 730441dcbb Ensure buffered messages can still be received when channel is closed. Christopher Kohlhoff 2023-03-06 23:37:39 +11:00
  • 03f3fa07f1 Fix use of nullptr. Christopher Kohlhoff 2023-03-06 23:37:18 +11:00
  • b99e042775 Merge asio from 'develop'. Christopher Kohlhoff 2023-03-02 00:06:55 +11:00
  • d40e6257bb Explicitly shutdown in io_context and thread_pool destructor. Christopher Kohlhoff 2023-03-01 23:10:27 +11:00
  • 85ee73854d Fix execution context overload of get_associated_executor. Christopher Kohlhoff 2023-03-01 23:10:14 +11:00
  • d7525504d0 Fix initialization of sqe->user_data for reuse by io_uring_service. Christopher Kohlhoff 2023-03-01 23:10:02 +11:00
  • 7182202ae3 Fix pipe release() when using io_uring. Christopher Kohlhoff 2023-03-01 23:09:50 +11:00
  • ae19c7b9a0 Fix thread_pool::join() deadlock when pool has no internal threads. Christopher Kohlhoff 2023-03-01 23:09:16 +11:00
  • 3c6101b636 Fix experimental::channel try_send failure after cancel. Christopher Kohlhoff 2023-03-01 23:09:05 +11:00
  • 87c178c9ea Fix awaitable exception pointer check typos. Christopher Kohlhoff 2023-03-01 23:08:55 +11:00
  • d341036043 Add protocol for AF_UNIX+SOCK_SEQPACKET. Christopher Kohlhoff 2023-03-01 23:08:42 +11:00
  • 387f74f575 Add user-defined literals for asio buffer types. Christopher Kohlhoff 2023-03-01 23:07:32 +11:00
  • 50600cdb8f Fix ambiguity of associated_cancellation_slot<reference_wrapper>::get(). Christopher Kohlhoff 2023-03-01 23:07:16 +11:00
  • 6550b831d3 Support immediate completion with reactor-based sockets and descriptors. Christopher Kohlhoff 2023-03-01 23:07:02 +11:00
  • 1f2f4bc862 Change cancellation_slot_binder to support detection of unspecialised associators. Christopher Kohlhoff 2023-03-01 23:06:32 +11:00
  • c35218f219 Change executor_binder to support detection of unspecialised associators. Christopher Kohlhoff 2023-03-01 23:06:21 +11:00
  • 55759280c2 Change allocator_binder to support detection of unspecialised associators. Christopher Kohlhoff 2023-03-01 23:06:08 +11:00
  • 0f5ed97183 Add bind_immediate_executor function and immediate_executor_binder adapter. Christopher Kohlhoff 2023-03-01 23:05:44 +11:00
  • e199980569 Add associated_immediate_executor associator. Christopher Kohlhoff 2023-03-01 23:04:58 +11:00
  • 8fb8b1f6bb Move dispatch, post and defer initiation objects to detail headers. Christopher Kohlhoff 2023-03-01 23:03:43 +11:00
  • 35e93e4e90 Update copyright notices. Christopher Kohlhoff 2023-03-01 23:03:03 +11:00
  • 7bd62d5485 Merge asio 1.26.0 from 'develop'. boost-1.81.0 Christopher Kohlhoff 2022-12-07 22:51:41 +11:00
  • a1b17d8cac Version bump. Christopher Kohlhoff 2022-12-07 20:54:41 +11:00
  • 47cf334752 Revision history. Christopher Kohlhoff 2022-12-07 20:54:20 +11:00
  • 926058f20f Fix coroutine detection with recent Xcode. Christopher Kohlhoff 2022-12-07 22:10:58 +11:00
  • 3668ffb3c4 Add io_uring, updated Windows versions to implementation notes. Christopher Kohlhoff 2022-12-07 20:37:59 +11:00
  • 2e30d9e1be Update async operation requirements to relax the requirements on the associated executor. Christopher Kohlhoff 2022-12-07 20:37:44 +11:00
  • f7ff39e66e Add missing include. Christopher Kohlhoff 2022-12-07 07:36:02 +11:00
  • 32b9ff6204 Fix detection of return type deduction with MSVC. Christopher Kohlhoff 2022-12-07 07:35:50 +11:00
  • 71907d44c5 Always enable std::invoke_result when targeting c++17 or later. Christopher Kohlhoff 2022-12-07 07:35:27 +11:00
  • 1941736519 Update detection of C++20 coroutine support on clang 14 and later. Christopher Kohlhoff 2022-12-07 07:35:15 +11:00
  • 2f124c3acb Add namespace qualifications to aligned_new and aligned_delete calls. Christopher Kohlhoff 2022-12-07 07:35:01 +11:00
  • d12b1a4f45 Add missing semicolon. Christopher Kohlhoff 2022-12-07 07:34:50 +11:00
  • 26fd5e9bb6 Fix the arguments to select_reactor::run. Christopher Kohlhoff 2022-12-07 07:34:39 +11:00
  • 7811479a80 Fix compatibility between co_spawn and any_completion_handler. Christopher Kohlhoff 2022-12-07 07:34:26 +11:00
  • 7fdff94997 Use snprintf rather than sprintf on latest Xcode. Christopher Kohlhoff 2022-12-07 07:34:10 +11:00
  • e715db5fc4 Ensure spawn()'s completion handler is dispatched through the correct executor. Christopher Kohlhoff 2022-12-07 07:33:54 +11:00
  • 61796a5704 Dispatch cancellation handlers on the correct executor. Christopher Kohlhoff 2022-12-07 07:33:39 +11:00
  • af8c16fde4 Merge asio from 'develop'. boost-1.81.0.beta1 Christopher Kohlhoff 2022-11-14 22:29:38 +11:00
  • ce07af1fdf Fix namespace for co_composed's coroutine_traits specialisation. Christopher Kohlhoff 2022-11-14 21:58:22 +11:00
  • 2877ebb7b9 Merge asio from 'develop'. Christopher Kohlhoff 2022-11-09 23:26:36 +11:00
  • dac750114c Version bump. Christopher Kohlhoff 2022-11-09 23:23:56 +11:00
  • d5d33a7eda Revision history. Christopher Kohlhoff 2022-11-09 23:23:28 +11:00
  • e874ca5aab Fall back to fcntl if ioctl fails with ENOTTY when setting non-blocking mode. Christopher Kohlhoff 2022-11-09 21:57:53 +11:00
  • d836b87c3a Merge asio from 'develop'. Christopher Kohlhoff 2022-11-03 23:13:52 +11:00
  • 80fd0e2971 Constrain post/defer overloads on ability to require blocking.never. Christopher Kohlhoff 2022-11-03 17:42:29 +11:00
  • 0636a1ca16 Add io_executor_type and get_io_executor() to experimental::co_composed's state. Christopher Kohlhoff 2022-11-03 17:32:16 +11:00
  • 6ab07fa35e Add io_executor_type and get_io_executor to async_compose's 'self' object. Christopher Kohlhoff 2022-11-03 17:32:07 +11:00
  • b67260f30a Add any_completion_handler.hpp to convenience header. Christopher Kohlhoff 2022-11-03 17:31:53 +11:00
  • 56c1f0f647 Cleaned up promise and made it an async_op. Christopher Kohlhoff 2022-11-03 17:31:32 +11:00
  • 09716d71f3 Enabled deferred awaiting for coros, regularized use_coro, and fixed allocator handling. Christopher Kohlhoff 2022-11-03 17:29:53 +11:00
  • 10fba74faa Fix broken get_nt_set_info() for overlapped handles. Christopher Kohlhoff 2022-11-03 17:28:47 +11:00
  • bf4dfbc607 Remove unused header. Christopher Kohlhoff 2022-11-03 17:28:44 +11:00
  • 74d0590e82 Make cancelled() public on an async_composed-base composed operation. Christopher Kohlhoff 2022-11-03 17:27:27 +11:00
  • 9e03478ba1 Add range-based experimental::make_parallel_group(). Christopher Kohlhoff 2022-11-03 00:48:45 +11:00
  • 7d3daa8567 Merge asio from 'develop'. Christopher Kohlhoff 2022-11-01 20:42:40 +11:00
  • 7b8d9b4f5f Fix link to experimental::co_composed. Christopher Kohlhoff 2022-11-01 13:49:17 +11:00
  • 6df6a90765 Fix consign documentation. Christopher Kohlhoff 2022-11-01 13:47:47 +11:00
  • bb0adde4a8 Fix compatibility with recent MSVC. Christopher Kohlhoff 2022-11-01 13:37:53 +11:00
  • 627de835cf Regenerate documentation. Christopher Kohlhoff 2022-11-01 10:44:11 +11:00
  • 68ef2b45d4 Add channel buffer specialisation for R(error_code). Christopher Kohlhoff 2022-11-01 10:28:01 +11:00
  • 0e395856fb Fix ambiguity in channel_traits specialisations. Christopher Kohlhoff 2022-11-01 10:27:37 +11:00
  • 1c0f3c36be Add experimental::co_composed. Christopher Kohlhoff 2022-11-01 10:26:54 +11:00
  • 64448e6a19 Add any_completion_handler<>. Christopher Kohlhoff 2022-11-01 10:11:29 +11:00
  • 5b4106c1a6 Add C++11 parallel_group example. Christopher Kohlhoff 2022-11-01 10:04:46 +11:00
  • ed722fb0a3 Add consign completion token adapter. Christopher Kohlhoff 2022-11-01 09:54:15 +11:00
  • 9c9b76f0ee Add any_completion_executor. Christopher Kohlhoff 2022-11-01 09:50:40 +11:00
  • 3ac6b65011 Change semantics of 'dispatch' to mean the executor is used as-is. Christopher Kohlhoff 2022-11-01 09:50:05 +11:00
  • 316250e5be Don't use deprecated conversion to endpoint. Christopher Kohlhoff 2022-11-01 09:49:51 +11:00
  • 8603d5c39b Deprecate concepts, traits, functions and customisation points related to senders and receivers. Christopher Kohlhoff 2022-11-01 09:49:24 +11:00
  • 17e08c23fe Deprecate execution::execute member function. Christopher Kohlhoff 2022-11-01 09:49:08 +11:00
  • 689f94b9ab Re-throw exception from top-level spawn()-ed function. Christopher Kohlhoff 2022-11-01 09:48:51 +11:00
  • 06d615d8ae Allow a terminal-state spawned thread to run to completion when destroyed. Christopher Kohlhoff 2022-11-01 09:48:29 +11:00
  • 6579863625 Catch exceptions and rethrow outside of spawned thread. Christopher Kohlhoff 2022-11-01 09:48:16 +11:00
  • 324a91fd0a Use deduced return types for all two-argument associator get functions. Christopher Kohlhoff 2022-11-01 09:47:46 +11:00
  • 1e81b83883 Change I/O objects to return their executors by const reference. Christopher Kohlhoff 2022-11-01 09:47:23 +11:00
  • 07f71caef2 Remove unnecessary specialisation of associated_cancellation_slot. Christopher Kohlhoff 2022-11-01 09:30:28 +11:00
  • 8be3d47f24 Add associated_cancellation_slot specialisation for std::reference_wrapper. Christopher Kohlhoff 2022-11-01 09:30:18 +11:00
  • 217986acc7 Use null pointers to implement empty execution::any_executor. Christopher Kohlhoff 2022-11-01 09:30:02 +11:00
  • 8dd81fce89 Add nothrow constructor overloads to any_io_executor. Christopher Kohlhoff 2022-11-01 09:29:46 +11:00
  • 22f4d42fd6 Add nothrow constructor overloads to execution::any_executor<>. Christopher Kohlhoff 2022-11-01 09:29:19 +11:00
  • 49d11205b1 Add missing context query to use_future's executor. Christopher Kohlhoff 2022-11-01 09:28:58 +11:00
  • 6d6d5a53d2 Merge asio 1.24.0 from 'develop'. boost-1.80.0 Christopher Kohlhoff 2022-08-04 00:18:46 +10:00
  • 0af7858e7b Version bump. Christopher Kohlhoff 2022-08-04 00:10:38 +10:00
  • 2c7283e271 Update revision history. Christopher Kohlhoff 2022-08-04 00:08:20 +10:00
  • 90f8221694 Regenerate platform macros documentation. Christopher Kohlhoff 2022-08-03 23:57:32 +10:00
  • d9f5562ba7 Recreate the select_reactor's interrupter on a user-supplied thread, when using IOCP on Windows. Christopher Kohlhoff 2022-08-03 14:10:10 +10:00
  • 32f8f72fcc Add use_promise and use_promise_t to the quick reference. Christopher Kohlhoff 2022-08-01 09:25:54 +10:00
  • 83880a798d Store reference to basic_yield_context in handler. Christopher Kohlhoff 2022-08-01 09:04:32 +10:00
  • 914c367395 Destroy spawned thread immediately if it completes within handler invocation. Christopher Kohlhoff 2022-08-01 09:04:18 +10:00