Question PRG-PY-0075
HardWhat does the GIL mean for a CPU-bound program using threads in CPython?
- A.
Threads run fully in parallel
- B.
It only affects I/O
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Python question
What does the GIL mean for a CPU-bound program using threads in CPython?
Threads run fully in parallel
It only affects I/O
Sign up free to see the answer and a step-by-step explanation.
Only one thread runs Python bytecode at a time, so threads don't speed it up; use multiprocessing
Threads are disabled