Python Multiprocessing: Escaping the GIL
Why Multiprocessing exists? Python’s Global Interpreter Lock (GIL) allows only one thread to execute Python bytecode at a time, no matter how many CPU cores your machine has. Threading in Python is excellent for I/O-bound work — a thread waiting on a network response or disk read releases the GIL so another thread can run. … Read full article: Python Multiprocessing: Escaping the GIL