go top

网络释义

  GIL

        全局解释器锁GIL):保证同一个时刻只有一个线程在运行。 二、thread #!

基于188个网页-相关网页

  Global Interpreter Lock

线程不能利用多CPU问题,这是Python被人诟病最多的一个缺点,GIL即全局解释器锁Global Interpreter Lock),是计算机程序设计语言解释器用于同步线程的工具,使得任何时刻仅有一个线程在执行,Python的线程是操作系统的原生线程。

基于118个网页-相关网页

双语例句

  • 全局解释器用于保护当前线程状态指针

    The global interpreter lock is used to protect the pointer to the current thread state.

    youdao

  • 当前拥有全局解释器线程(其它什么)未知调用这个函数安全

    It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock.

    youdao

  • 释放全局解释器必须提前创建这个函数编译禁用线程支持的情况下不可用。

    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.

    youdao

更多双语例句

百科

全局解释器锁

全局解释器锁(Global Interpreter Lock),是计算机程序设计语言解释器用于同步线程的工具,使得任何时刻仅有一个线程在执行。常见例子有CPython(JPython不使用GIL)与Ruby MRI。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定