On Tue, Feb 9, 2021 at 5:20 AM Dominique Devienne via Boost-users
<[email protected]> wrote:
> Could someone please recommend a way to have a more balanced flow of tasks in 
> the graph?
> Or alternative designs even, if what I do above is not ideal. Is Boost.Asio 
> even suitable in this case?

Yes. Only queue A and B tasks when there are N or fewer C tasks
scheduled. Alternatively, run A and B each in their own thread and
block when there are more than N C tasks scheduled.

Regards
_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to