DEV Community

Discussion on: Explain python global interpreter lock (GIL) Like I'm Five

Collapse
 
rhymes profile image
rhymes

Exactly, it's a giant mutex that serialises access to non thread safe resources.

Thread Thread
 
idanarye profile image
Idan Arye

And in Python - everything except IO is considered non-thread-safe.