Common

Global interpreter lock

Mechanism that ensures threads are not executed in parallel

Global interpreter lock

Common card · No. 382737

A global interpreter lock (GIL) is a mechanism used in computer-language interpreters to synchronize the execution of threads so that only one native thread (per process) can execute basic operations (such as memory allocation and reference counting) at a time. As a general rule, an interpreter that uses GIL will see only one thread to execute at a time, even if it runs on a multi-core processor, although some implementations provide for CPU intensive code to release the GIL, allowing multiple threads to use multiple cores. Some popular interpreters that have a GIL are CPython and Ruby MRI.

Read on Wikipedia

Open boosters, collect cards and trade them. Free to play.

Play for free
Global interpreter lock – Common Wikipedia card | Wikiverse TCG