GIL (Global Interpreter Lock) అనేది CPython (Python యొక్క ప్రామాణిక అమలు) లో ఒక mutex, ఇది ఒక సమయంలో ఒక థ్రెడ్ మాత్రమే Python bytecode ను అమలు చేయడానికి అనుమతిస్తుంది. దీని అర్థం Python థ్రెడ్లు బహుళ CPU కోర్లలో Python కోడ్ను నిజమైన సమానతలో అమలు చేయలేవు — సమ్మతికి ఒక ప్రధాన పరిశీలన.
GIL అర్థం ఆచరణలో
Even with multiple threads on a multi-core CPU:
Only ONE thread runs Python bytecode at any instant.
→ Threading does NOT give CPU-bound parallelism in CPython.
