The thing is that I would like to create a global instance which I would be able to use separately by each coroutine to keep there, for instance, the ...
The thing is that I would like to create a global instance which I would be able to use separately by each coroutine to keep there, for instance, the ...
The thing is that when there are coroutines they can work in random order, and they can end up but keeps scope's name on each stackframe being obli ...
I would like to learn how to pass timeout timer to boost::asio::yield_context. Let's say, in terms of Boost 1.80, there is smth like the following: ...
I would like to turn the CassFuture Object from Datastax's C++ Driver to a Boost Asio Awaitable Object. The problem is it seems like this conversion c ...
Hey I'm trying to wrap class provided by third party library to use Boost coroutines. The library also uses Boost but for the purpose of async operati ...
I wonder why the following programme crashes. How to use awaitable not with boost::asio::async_write/async_read functions. Let's see: This results ...
I had a question regarding the working of co_await in C++. I have the following code snippet:- The co_await keyword is used to suspend the executio ...
The code below prints to the console when both timer1 and timer2 have finished. How can I change it to print when either timer1 or timer2 finishes, an ...
My server is based on boost spawn echo server example, and improved in this thread. The real server is complex and I made a simpler server to show the ...
In my case I have a server that processes plenty of sip calls (3000 simultaneously). It sends and receives SIP packets and a load of RTP packets (a pa ...
I made my server based on boost coroutine echo server example, simply receives and writes back some data. It crashes when writing data to client, and ...
I have boost::asio::io_context which is running in several threads (via ctx.run()) and I have several asynchronous objects that are used inside boost. ...
I am using boost asio with coroutine to get some data from tcp socket. In the exmaples shown in those document, the example looks like But how can ...
A simple function: Can be awaited using co_await write(my_data). This works when I use any async Boost ASIO function. How would one go about usin ...
I have the following simple coroutine-based server: I want to run this server on a thread and stop it cleanly when the main program is about to fin ...
I am trying to make map having the result of coroutine. I searched for an example showing how to get future of coroutine. I need to generate tasks to ...
I'd like to create an asynchronous function which takes as it's last argument boost::asio::yield_context. E.g.: int async_meaning_of_life(asio::yield ...
I recently posted a question about stack segmentation and boost coroutines but it seems like the -fsplit-stack approach only works with source files t ...
Can anyone give me an example of how I can use segmented stacks with boost coroutines? Do I have to annotate every function that is called from the co ...
This is the test case For some reason the assert at the end fails with the value of sum being 14 I installed boost (version 1.63) context with the ...