Python Forum
how does GIL impact threads?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how does GIL impact threads?
#1
how does GIL impact the running of threads? i know i can have each running thread start a command in a separate process since i have tested that. i want to run N such processes for a system with N CPUs. when the command process ends, the thread will end. maybe i can have it put a small object on an instance of queue.SimpleQueue and have the main thread waiting for that. but i'm still not sure how GIL can impact this.
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
how does GIL impact threads? - by Skaperen - Aug-04-2019, 05:58 AM
RE: how does GIL impact threads? - by Yoriz - Aug-04-2019, 10:05 AM
RE: how does GIL impact threads? - by wavic - Aug-06-2019, 03:07 PM
RE: how does GIL impact threads? - by Skaperen - Aug-06-2019, 05:50 PM

Forum Jump:

User Panel Messages

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