mirror of
https://github.com/boostorg/asio.git
synced 2026-02-23 14:02:13 +00:00
Added support for using io_uring as the backend for all I/O objects, including sockets, timers, and posix descriptors. This backend is disabled by default, and must be enabled by defining both BOOST_ASIO_HAS_IO_URING and BOOST_ASIO_DISABLE_EPOLL. (Note: Simply defining BOOST_ASIO_HAS_IO_URING alone will enable the backend without using it for the existing I/O objects. This allows it to be used for I/O objects that require io_uring support, such as files.) This support depends on the liburing library at both compile and link time. Add '-luring' to your list of libraries for linking.