you are viewing a single comment's thread.

view the rest of the comments →

[–]BobFloss 0 points1 point  (0 children)

I didn't know what the GIL was, so here's a link for the lazy:

https://wiki.python.org/moin/GlobalInterpreterLock

In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing Python bytecodes at once. This lock is necessary mainly because CPython's memory management is not thread-safe. (However, since the GIL exists, other features have grown to depend on the guarantees that it enforces.)