Global Interpreter Lock的意思|示意
全局解释器锁
Global Interpreter Lock的网络常见释义
全局解释器锁 线程不能利用多CPU问题,这是Python被人诟病最多的一个缺点,GIL即全局解释器锁(Global Interpreter Lock),是计算机程序设计语言解释器用于同步线程的工具,使得任何时刻仅有一个线程在执行,Python的线程是操作系统的原生线程。
Global Interpreter Lock相关短语
1、 The Global Interpreter Lock 获取全局解释器锁
Global Interpreter Lock相关例句
The global interpreter lock" is per-interpreter as its name implies, not per process;"
全球口译锁“是每口译,顾名思义,不是每个进程;
The global interpreter lock is used to protect the pointer to the current thread state.
全局解释器锁用于保护当前线程状态的指针。
The reason is the Global Interpreter Lock (GIL), sometimes referred to as Global VM Lock (GVL).
这就是全局解释锁(GIL),有时候也叫做全局VM锁(GVL)。
It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock.
当前拥有全局解释器锁的线程(或其它什么)未知时,调用这个函数不安全。
Release the global interpreter lock. The lock must have been created earlier. This function is not available when thread support is disabled at compile time.
释放全局解释器锁。锁必须提前创建。这个函数在编译时禁用线程支持的情况下不可用。