Oct-31-2022, 09:23 PM
(This post was last modified: Oct-31-2022, 09:24 PM by Gribouillis.)
(Oct-31-2022, 05:47 PM)Skaperen Wrote: it could be a good way to spread a work queue to many threads.Your question looks like an instance of a XY problem. The description is very vague: it depends on such and such....
Try to describe a simple problem that you want to solve with threads and why you think using thread-friendly generators is the solution.