Boost logo

Boost :

From: Richard Hodges (hodges.r_at_[hidden])
Date: 2023-07-26 15:53:06


On Wed, 26 Jul 2023 at 17:25, Christian Mazakas via Boost <
boost_at_[hidden]> wrote:

> > I know you want to use io_uring and you seem to think you can't.
> > What's the issue with creating your own awaitables that use io_uring
> > and co_await them from async's coroutines?
>
> Actually, this would be a great test.
>
> I tried reading the docs but I'm not sure how to actually author this.
>

You don't need to. Chris has already built io_uring support into ASIO.

simply compile with *-DBOOST_ASIO_HAS_IO_URING_AS_DEFAULT*

Effect:
*Linux: io_uring is used instead of epoll.*

See:
https://www.boost.org/doc/libs/1_82_0/doc/html/boost_asio/using.html

>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk