Global Interpreter Lock

A Global Interpreter Lock (GIL) is a mutual exclusion lock held by a programming language interpreter thread to avoid sharing code that is not thread-safe with other threads. In languages with a GIL, there is always one GIL for each interpreter process. CPython and CRuby use GILs.

Applications written in programming languages with a GIL can be designed to use separate processes to achieve full parallelism, as each process has its own interpreter and in turn has its own GIL. Otherwise, the GIL can be a significant barrier to parallelism—a price paid for having the dynamism of the language.

Read more about Global Interpreter Lock:  Benefits and Drawbacks, Examples

Famous quotes containing the words global, interpreter and/or lock:

    As the global expansion of Indian and Chinese restaurants suggests, xenophobia is directed against foreign people, not foreign cultural imports.
    Eric J. Hobsbawm (b. 1917)

    Man, being the servant and interpreter of nature, can do and understand so much and so much only as he has observed in fact or in the course of nature: beyond this he neither knows anything nor can do anything.
    Francis Bacon (1560–1626)

    then take off your flesh,
    unpick the lock of your bones.
    In other words
    take off the wall
    that separates you from God.
    Anne Sexton (1928–1974)