41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
[/
|
|
/ Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
/
|
|
/ Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
/ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
/]
|
|
|
|
[section:model Asynchronous Model]
|
|
|
|
This section presents a high-level overview of the asynchronous model at the
|
|
core of the Boost.Asio library. This model enshrines asynchronous operations as the
|
|
fundamental building block of asynchronous composition, but in a way that
|
|
decouples them from the composition mechanism. The asynchronous operations in
|
|
Boost.Asio support callbacks, futures (both eager and lazy), fibers, coroutines, and
|
|
approaches yet to be imagined. This allows the application programmer to select
|
|
an approach based on appropriate trade-offs.
|
|
|
|
* [link boost_asio.overview.model.async_ops Asynchronous Operations]
|
|
* [link boost_asio.overview.model.async_agents Asynchronous Agents]
|
|
* [link boost_asio.overview.model.associators Associated Characteristics and Associators]
|
|
* [link boost_asio.overview.model.child_agents Child Agents]
|
|
* [link boost_asio.overview.model.executors Executors]
|
|
* [link boost_asio.overview.model.allocators Allocators]
|
|
* [link boost_asio.overview.model.cancellation Cancellation]
|
|
* [link boost_asio.overview.model.completion_tokens Completion Tokens]
|
|
* [link boost_asio.overview.model.library_elements Supporting Library Elements]
|
|
* [link boost_asio.overview.model.higher_levels Higher Level Abstractions]
|
|
|
|
[include model/async_ops.qbk]
|
|
[include model/async_agents.qbk]
|
|
[include model/associators.qbk]
|
|
[include model/child_agents.qbk]
|
|
[include model/executors.qbk]
|
|
[include model/allocators.qbk]
|
|
[include model/cancellation.qbk]
|
|
[include model/completion_tokens.qbk]
|
|
[include model/library_elements.qbk]
|
|
[include model/higher_levels.qbk]
|
|
|
|
[endsect]
|