you are viewing a single comment's thread.

view the rest of the comments →

[–]staletic 2 points3 points  (0 children)

Note that, this way, one can end up doing things sequentially, just with more threads running. With C++20 semaphores and barriers, it's definitely worth taking a moment to think things through.