Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net