$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2021-02-09 15:13:01
On Tue, Feb 9, 2021 at 5:20 AM Dominique Devienne via Boost-users
<boost-users_at_[hidden]> 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