Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a generator and threads
#1
if a generator spawns a thread, what happens? can 2 or more threads do yields in the same generator? what if 2 or more threads try to iterate the same generator?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
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