go top

全局解释锁

网络释义

  GIL

...的原因,代码并不能同时在多核上并发的运行,也就是说,Python的多线程不能并发,很多人会发现使用多线程来改进自己的Python代码后,程序的运行效率却下降了。这篇文章对Python中的全局解释锁GIL)进行了介绍。作者认为这是Python中最令人头疼的问题。

基于36个网页-相关网页

短语

全局解释器锁 GIL ; Global Interpreter Lock

有道翻译

全局解释锁

Global interpretation lock

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 就是全局解释GIL),有时候也叫做全局VMGVL)。

    The reason is the Global Interpreter Lock (GIL), sometimes referred to as Global VM Lock (GVL).

    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

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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