You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is already a coroutine A is executing in the executor thread, at this time, if a coroutine B is generated through co_spawn, then this coroutine B will also be executed. What I want is a 'post' like effect, where coroutine B will be delivered to asio's queue. Only when coroutine A is completed can coroutine B be executed.
I know that asio::experimental::channel can meet this requirement, But I just want to know if it's possible to solve this problem without using channel and co_spawn?
The text was updated successfully, but these errors were encountered:
If there is already a coroutine A is executing in the executor thread, at this time, if a coroutine B is generated through co_spawn, then this coroutine B will also be executed. What I want is a 'post' like effect, where coroutine B will be delivered to asio's queue. Only when coroutine A is completed can coroutine B be executed.
I know that asio::experimental::channel can meet this requirement, But I just want to know if it's possible to solve this problem without using channel and co_spawn?
The text was updated successfully, but these errors were encountered: