diff --git a/doc/modules/ROOT/pages/4.guide/4c.io-context.adoc b/doc/modules/ROOT/pages/4.guide/4c.io-context.adoc index f06457004..3087f32c9 100644 --- a/doc/modules/ROOT/pages/4.guide/4c.io-context.adoc +++ b/doc/modules/ROOT/pages/4.guide/4c.io-context.adoc @@ -282,17 +282,25 @@ On Windows, the `io_context` uses I/O Completion Ports: * Efficient thread pool utilization * Native async I/O with zero-copy potential -=== Linux (io_uring) — Planned +=== Linux (epoll) -Future Linux support will use io_uring for: +On Linux, the `io_context` uses epoll: + +* Scalable to large numbers of file descriptors +* Edge-triggered notifications +* Efficient for long-lived connections + +==== io_uring — Planned + +Future Linux support will add io_uring for: * Kernel-level async I/O * Reduced system calls * Support for more operation types -=== macOS (kqueue) — Planned +=== macOS / FreeBSD (kqueue) -Future macOS support will use kqueue for: +On macOS and FreeBSD, the `io_context` uses kqueue: * Efficient event notification * File descriptor monitoring diff --git a/doc/modules/ROOT/pages/4.guide/4e.tcp-acceptor.adoc b/doc/modules/ROOT/pages/4.guide/4e.tcp-acceptor.adoc index 68534b341..d76a2d07d 100644 --- a/doc/modules/ROOT/pages/4.guide/4e.tcp-acceptor.adoc +++ b/doc/modules/ROOT/pages/4.guide/4e.tcp-acceptor.adoc @@ -24,7 +24,7 @@ namespace corosio = boost::corosio; == Overview -An tcp_acceptor binds to a local endpoint and waits for clients to connect: +A tcp_acceptor binds to a local endpoint and waits for clients to connect: [source,cpp] ----