2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-26 18:22:09 +00:00

Commit Graph

  • 46cee4fb0a Add missing equality_comparable trait for system_executor. Christopher Kohlhoff 2020-06-30 22:35:25 +10:00
  • 57b0b6f231 Add missing equality_comparable trait for io_context executors. Christopher Kohlhoff 2020-06-30 22:35:11 +10:00
  • 00248b6739 Add scheduler and sender support to thread_pool. Christopher Kohlhoff 2020-06-30 22:34:56 +10:00
  • 89392d98ae Make properties applicable to executors, senders, and schedulers. Christopher Kohlhoff 2020-06-30 22:34:04 +10:00
  • 46e166e999 Fix documentation for execution::prefer_only. Christopher Kohlhoff 2020-06-30 22:33:26 +10:00
  • 19c06f6931 Add execution::scheduler concept and execution::is_scheduler trait. Christopher Kohlhoff 2020-06-30 22:32:51 +10:00
  • e93522cf35 Add execution::executor_index trait. Christopher Kohlhoff 2020-06-30 22:30:59 +10:00
  • 49a3e6c628 Add execution::executor_shape trait. Christopher Kohlhoff 2020-06-30 22:30:23 +10:00
  • 8081d7ee9d Add execution::schedule() customisation point object. Christopher Kohlhoff 2020-06-30 22:29:09 +10:00
  • 75b2c02896 Add execution::execute() support for adapting senders. Christopher Kohlhoff 2020-06-30 22:27:34 +10:00
  • 76789c2324 Add execution::submit() customisation point object. Christopher Kohlhoff 2020-06-30 22:26:34 +10:00
  • c27c6f2af8 Change execution::sender_traits to recognise executors as senders. Christopher Kohlhoff 2020-06-30 22:17:39 +10:00
  • 8437d73465 Add execution::sender_to concept and execution::is_sender_to trait. Christopher Kohlhoff 2020-06-30 22:16:35 +10:00
  • 7edcde3d97 Add execution::connect() customisation point object. Christopher Kohlhoff 2020-06-30 22:15:35 +10:00
  • 84bf100253 Add execution::receiver_invocation_error exception. Christopher Kohlhoff 2020-06-30 22:09:54 +10:00
  • 63d35468c0 Add execution::sender concepts and traits. Christopher Kohlhoff 2020-06-30 22:09:19 +10:00
  • 4569c722ec Add execution::operation_state concept and execution::is_operation_state trait. Christopher Kohlhoff 2020-06-30 22:08:19 +10:00
  • ca3a44ea3c Add execution::start() customisation point object. Christopher Kohlhoff 2020-06-30 22:07:21 +10:00
  • 36a811264d Add execution::executor_of concept and execution::is_executor trait. Christopher Kohlhoff 2020-06-30 22:06:22 +10:00
  • 4d8e791a8f Add execution::receiver concepts and traits. Christopher Kohlhoff 2020-06-30 22:02:21 +10:00
  • b68f15843c Add execution::set_value() customisation point object. Christopher Kohlhoff 2020-06-30 21:55:37 +10:00
  • bd5acb1d51 Add execution::set_done() customisation point object. Christopher Kohlhoff 2020-06-30 21:54:13 +10:00
  • 3a22a4fb7b Add execution::set_error() customisation point object. Christopher Kohlhoff 2020-06-30 21:52:51 +10:00
  • b51464b2ed Require gcc 4.8 or later to enable certain C++11 features. Christopher Kohlhoff 2020-06-30 21:50:08 +10:00
  • 0689f316df Fix forward declaration guard used for any_executor. Christopher Kohlhoff 2020-06-30 21:49:47 +10:00
  • 89932b81c2 Merge asio from 'develop'. Christopher Kohlhoff 2020-06-28 01:02:45 +10:00
  • fcd09b9c81 Build execution tests. Christopher Kohlhoff 2020-06-26 16:42:45 +10:00
  • 45d52fb5ac Add standard executor support to basic_socket_acceptor accept() and async_accept(). Christopher Kohlhoff 2020-06-26 15:46:15 +10:00
  • 4ff016c025 More spawn() changes to support standard executors. Christopher Kohlhoff 2020-06-26 15:45:55 +10:00
  • e6451028c3 Use a different target function table depending on the blocking property. Christopher Kohlhoff 2020-06-26 15:44:47 +10:00
  • e2cde117c0 Add any_io_executor to forward declaration header 'netfwd.hpp'. Christopher Kohlhoff 2020-06-24 19:40:11 +10:00
  • ba83dd2fc4 Merge asio from 'develop'. Christopher Kohlhoff 2020-06-24 11:46:26 +10:00
  • c06347a602 Documentation fix for the execution::allocator property. Christopher Kohlhoff 2020-06-24 11:42:43 +10:00
  • 79cba1da59 Point toward upstream asio issue tracker. Christopher Kohlhoff 2020-06-12 22:30:34 +10:00
  • a30017cf6b Point toward upstream asio issue tracker. Christopher Kohlhoff 2020-06-12 22:30:34 +10:00
  • c4adb6ff02 Regenerate documentation. Christopher Kohlhoff 2020-06-23 11:29:09 +10:00
  • 93eb961014 Add new execution facilities to quick reference. Christopher Kohlhoff 2020-06-22 23:36:08 +10:00
  • 8ce21b0001 Add new executor type requirements. Christopher Kohlhoff 2020-06-22 23:31:59 +10:00
  • c55037795c Documentation generation tweaks for new execution facilities. Christopher Kohlhoff 2020-06-22 23:31:09 +10:00
  • d98c116eb7 Update executor examples to use standard executor form. Christopher Kohlhoff 2020-06-22 23:26:49 +10:00
  • 242b3ee482 Disable executor_work_guard if BOOST_ASIO_NO_TS_EXECUTORS is defined. Christopher Kohlhoff 2020-06-22 23:26:23 +10:00
  • bb547e1a44 Disable io_context::strand if BOOST_ASIO_NO_TS_EXECUTORS is defined. Christopher Kohlhoff 2020-06-22 23:26:01 +10:00
  • 307690de7f Disable asio::executor if BOOST_ASIO_NO_TS_EXECUTORS is defined. Christopher Kohlhoff 2020-06-22 23:25:30 +10:00
  • e4877fe03d Use properties to obtain an executor's execution context. Christopher Kohlhoff 2020-06-22 23:25:08 +10:00
  • fefe9a992e Use properties to track outstanding work against an io_context. Christopher Kohlhoff 2020-06-22 23:24:33 +10:00
  • 5488c28a3b Use an any_executor<> as the polymorphic executor for I/O objects. Christopher Kohlhoff 2020-06-22 23:22:59 +10:00
  • 9557f87ae4 Increase emulated variadic template support to 8 parameters. Christopher Kohlhoff 2020-06-22 23:22:46 +10:00
  • 50ab1cb652 Add standard executor support to spawn. Christopher Kohlhoff 2020-06-22 23:22:30 +10:00
  • 166e773815 Add standard executor support to executor_work_guard. Christopher Kohlhoff 2020-06-22 23:22:18 +10:00
  • 34c898b27b Add standard executor support to use_future. Christopher Kohlhoff 2020-06-22 23:22:08 +10:00
  • 0d9bbf613c Add standard executor support to co_spawn. Christopher Kohlhoff 2020-06-22 23:21:55 +10:00
  • e3d6bcfac9 Add standard executor support to async_compose. Christopher Kohlhoff 2020-06-22 23:21:40 +10:00
  • 20d2c5e806 Add standard executor support to bind_executor. Christopher Kohlhoff 2020-06-22 23:21:29 +10:00
  • 75c405d249 Add standard executor support to get_associated_executor. Christopher Kohlhoff 2020-06-22 23:21:12 +10:00
  • 3fc1f87a2b Add standard executor support to strand<>. Christopher Kohlhoff 2020-06-22 23:17:08 +10:00
  • bbe07663c0 Add standard executor support to async I/O operations. Christopher Kohlhoff 2020-06-22 23:15:54 +10:00
  • 0e0a38df5f Add standard executor support to post(), dispatch(), and defer(). Christopher Kohlhoff 2020-06-22 23:14:51 +10:00
  • 95eb4eb16c Update system_executor to standard executor form. Christopher Kohlhoff 2020-06-22 23:14:37 +10:00
  • d56b243026 io_context.hpp Christopher Kohlhoff 2020-06-23 11:08:10 +10:00
  • 121e8aa610 Update io_context::executor_type to standard executor form. Christopher Kohlhoff 2020-06-22 23:14:19 +10:00
  • 65dfb99273 threadpool Christopher Kohlhoff 2020-06-23 11:08:03 +10:00
  • 0a662cb309 Add static_thread_pool (as thread_pool in standard executor form). Christopher Kohlhoff 2020-06-22 23:11:15 +10:00
  • 9a743f078e Add "asio/execution.hpp" convenience header. Christopher Kohlhoff 2020-06-22 23:03:59 +10:00
  • ac7e13f51b Add execution::context_as property adapter. Christopher Kohlhoff 2020-06-22 23:03:15 +10:00
  • d2cb3bbdc6 Add execution::prefer_only property adapter. Christopher Kohlhoff 2020-06-22 23:01:56 +10:00
  • 3783cc1093 Add execution::any_executor. Christopher Kohlhoff 2020-06-22 22:58:43 +10:00
  • ec2f491be0 Add execution::context property. Christopher Kohlhoff 2020-06-22 22:57:38 +10:00
  • f1b382b32b Add execution::occupancy property. Christopher Kohlhoff 2020-06-22 22:57:09 +10:00
  • f080c01965 Add execution::allocator property. Christopher Kohlhoff 2020-06-22 22:56:47 +10:00
  • 74a13e9920 Add execution::bulk_guarantee property. Christopher Kohlhoff 2020-06-22 22:56:27 +10:00
  • 3f90ca5cb2 Add execution::blocking_adaptation property. Christopher Kohlhoff 2020-06-22 22:55:18 +10:00
  • bfeec7cd2b Add execution::relationship property. Christopher Kohlhoff 2020-06-22 22:54:30 +10:00
  • 3d5209fa19 Add execution::mapping property. Christopher Kohlhoff 2020-06-22 22:53:15 +10:00
  • 50e3e1798d Add execution::outstanding_work property. Christopher Kohlhoff 2020-06-22 22:52:33 +10:00
  • 36686f07a1 Add execution::blocking property. Christopher Kohlhoff 2020-06-22 22:51:57 +10:00
  • 834c5bdc8a Add execution::executor concept and execution::is_executor trait. Christopher Kohlhoff 2020-06-22 22:50:34 +10:00
  • f6cfbc3982 Add execution::execute() customisation point object. Christopher Kohlhoff 2020-06-22 22:49:58 +10:00
  • e3be5fe444 Add execution::invocable_archetype. Christopher Kohlhoff 2020-06-22 22:44:22 +10:00
  • fac4056517 Add properties implementation. Christopher Kohlhoff 2020-06-22 22:21:37 +10:00
  • 4d7ad03b7f Add ability to run function templates as tests. Christopher Kohlhoff 2020-06-22 22:10:22 +10:00
  • 5d65dba5c8 Fix copy/paste errors in "Networking TS compatibility" docs. Christopher Kohlhoff 2020-06-22 21:50:23 +10:00
  • 0d0e36be72 Fix compile error on MSVC 2017. Christopher Kohlhoff 2020-06-22 21:49:59 +10:00
  • 7dad754997 Don't default the IoExecutor in detail::handler_work<>. Christopher Kohlhoff 2020-06-22 21:46:10 +10:00
  • 24bb388fb9 Change detail::completion_handler<> to use an I/O executor. Christopher Kohlhoff 2020-06-22 21:41:46 +10:00
  • 59d6542f2a Test for native I/O executors in detail::handler_work<>. Christopher Kohlhoff 2020-06-22 21:39:34 +10:00
  • deb0b72619 Change detail::handler_work<> to use an RAII-based approach. Christopher Kohlhoff 2020-06-22 21:31:21 +10:00
  • 3122e49c63 Avoid touching errors when we get a 0-length receive on a non-stream. Christopher Kohlhoff 2020-06-22 21:30:58 +10:00
  • 7f41b8ed6b Add single-buffer optimisation for descriptor read and write. Christopher Kohlhoff 2020-06-22 21:29:40 +10:00
  • bbe2dbe3e8 Add single-buffer optimisation for recvfrom and sendto. Christopher Kohlhoff 2020-06-22 21:29:07 +10:00
  • bab9d0fa72 Remove unnecessary allocator_ member. Christopher Kohlhoff 2020-06-22 21:28:46 +10:00
  • bed41e4f4c On success, zero only the error_code value. Christopher Kohlhoff 2020-06-22 21:28:15 +10:00
  • bd514b467f Use a cached success error code to avoid touching the category singleton. Christopher Kohlhoff 2020-06-22 21:27:27 +10:00
  • b614b8d56c Return earlier on success in send/receive and read/write operations. Christopher Kohlhoff 2020-06-22 21:26:58 +10:00
  • 42b575ce2c Access errno only when on the error path. Christopher Kohlhoff 2020-06-22 21:26:24 +10:00
  • e3ed5f0c68 Add single-buffer optimisation for send and receive. Christopher Kohlhoff 2020-06-22 21:25:27 +10:00
  • bfe960d7fd Specify memory ordering when reference counting with standard atomics. Christopher Kohlhoff 2020-06-22 21:24:58 +10:00
  • 9d2c453770 Explicitly disable copy construction in io_context and thread_pool. Christopher Kohlhoff 2020-06-22 21:21:59 +10:00
  • cb6b7e5f3c Mark the asio_handler_allocate/deallocate hooks as deprecated. Christopher Kohlhoff 2020-06-22 21:00:02 +10:00
  • 98b3e502b8 Mark the asio_handler_invoke hook as deprecated. Christopher Kohlhoff 2020-06-22 20:59:09 +10:00
  • 0d81908cc0 Update socks4 example to use non-deprecated resolver interface. Christopher Kohlhoff 2020-06-22 20:58:51 +10:00