Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a generator and threads
#4
(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.
Reply


Messages In This Thread
a generator and threads - by Skaperen - Oct-31-2022, 01:25 AM
RE: a generator and threads - by ndc85430 - Oct-31-2022, 06:38 AM
RE: a generator and threads - by Skaperen - Oct-31-2022, 05:47 PM
RE: a generator and threads - by Gribouillis - Oct-31-2022, 09:23 PM
RE: a generator and threads - by Skaperen - Nov-01-2022, 10:23 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020