理解Python中GIL锁

GIL(Global Interpreter Lock)不是Python独有的特性,它只是在实现CPython(Python解释器)时,引入的一个概念。在官方网站中定义如下: In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing
相关文章
相关标签/搜索