In the context of Python's GIL (Global Interpreter Lock), which kind of multi-threading is essentially made single-threaded?

  • CPU-bound Multi-threading
  • I/O-bound Multi-threading
  • Multi-process
  • Parallel Multi-threading
Python's GIL makes CPU-bound multi-threading essentially single-threaded. GIL ensures that only one thread is executing Python code at a time, which limits the effectiveness of multi-threading for CPU-bound tasks.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *