Global Interpreter Lock

GPTKB entity

Statements (23)
Predicate Object
gptkbp:instanceOf interpreter mechanism
gptkbp:abbreviation gptkb:GIL
gptkbp:compatibleWith gptkb:IronPython
gptkb:Jython
PyPy (STM version)
gptkbp:criticizedFor performance bottleneck in multi-core systems
gptkbp:discusses gptkb:Python_documentation
gptkb:Python_Enhancement_Proposals_(PEPs)
gptkbp:effect limits concurrency in multi-threaded Python programs
https://www.w3.org/2000/01/rdf-schema#label Global Interpreter Lock
gptkbp:introducedIn gptkb:Python
gptkbp:purpose prevents multiple native threads from executing Python bytecodes at once
gptkbp:relatedTo multi-threading
thread safety
gptkbp:removalChallengingBecause CPython memory management design
gptkbp:removalConsidered Python community
gptkbp:usedIn gptkb:CPython
gptkbp:workaround multiprocessing
asyncio
using C extensions for parallelism
gptkbp:bfsParent gptkb:GIL
gptkb:PEP_703
gptkbp:bfsLayer 8