Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion doc/modules/ROOT/pages/3.tutorials/3e.hash-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ hash on a thread pool, and sends the result back. You'll learn how to combine
an `io_context` for network I/O with a `thread_pool` for CPU-bound work,
switching between them mid-coroutine with `capy::run()`.

NOTE: Code snippets assume:
[NOTE]
====
Code snippets assume:
[source,cpp]
----
#include <boost/corosio/io_context.hpp>
Expand All @@ -30,6 +32,7 @@ NOTE: Code snippets assume:
namespace corosio = boost::corosio;
namespace capy = boost::capy;
----
====

== Overview

Expand Down
5 changes: 4 additions & 1 deletion doc/modules/ROOT/pages/3.tutorials/3f.reconnect.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ reconnects with exponential backoff when the connection fails. You'll learn
how to combine timers with sockets for retry logic and how to use stop tokens
for graceful shutdown.

NOTE: Code snippets assume:
[NOTE]
====
Code snippets assume:
[source,cpp]
----
#include <boost/corosio/endpoint.hpp>
Expand All @@ -29,6 +31,7 @@ NOTE: Code snippets assume:
namespace corosio = boost::corosio;
namespace capy = boost::capy;
----
====

== Overview

Expand Down
4 changes: 2 additions & 2 deletions doc/modules/ROOT/pages/4.guide/4c.io-context.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ On Linux, the `io_context` uses epoll:
* Edge-triggered notifications
* Efficient for long-lived connections

==== io_uring — Planned
==== io_uring

Future Linux support will add io_uring for:
Linux also provides an io_uring backend:

* Kernel-level async I/O
* Reduced system calls
Expand Down
Loading