Global interpreter lock
Coarse-grained mutex used in some process virtual machines
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.
Nº Q5570451 ★
Comum · Saberes
Global interpreter lock
Coarse-grained mutex used in some process virtual machines
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.
Na Wikipédia
Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.
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.
Texto: Wikipédia em inglês, CC BY-SA 4.0. ·
Cartas próximas
-
Global Descriptor Table
X86 data structure
Nº Q1518013 ★
Sem ofertas
-
GLib
Nº Q1137964 ★
Sem ofertas
-
V
VLIW
Nº Q249743 ★★
Sem ofertas
-
G
Grbl
Free software for drive CNC controler
Nº Q57817152 ★
Sem ofertas
-
I
Ioctl
System call
Nº Q837975 ★
Sem ofertas
-
GLUI
Nº Q1041107 ★★
Sem ofertas