9 Feb
2021
9 Feb
'21
3:13 p.m.
On Tue, Feb 9, 2021 at 5:20 AM Dominique Devienne via Boost-users
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