Re: [Capy review] Some questions

Ruben Perez via Boost <[email protected]> Thu, 25 Jun 2026 18:05:08 +0200
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CACR-mdL5Uo=aQGdcE+X63yXFRmZWwYVS8GkN=d1KRyuY6io1LA@mail.gmail.com>
> >
> > Which makes me think that Corosio can only be used with
> > corosio::io_context, and no other execution contexts.
>
> That is correct, for now. The Boost.Asio compatibility is not part of Capy *yet*. It is un-reviewed and not merged. To support this we simply lazily load services.

If I'm reading Corosio's code correctly, it is not enough to construct
the services, but you also need to run the scheduler. This happens in
io_context::run(). How would this work for capy::thread_pool or the
Asio integration case?
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/AL72TDKFNGGBDTUOTS4X7D23D3RBU7SD/