In order to support multi-threaded Python programs, there’s a global lock, called the global interpreter lock or GIL, that must be held by the current python thread before it can safely access Python objects. Locking the entire interpreter makes it easier for the interpreter to be multi-threaded, at the expense of much of the parallelism afforded by multi-processor machines.

Image upload
Category
Country

Similar Articles

Similar Bookmarks

Connected Bookmarks