Global Interpretor Lock


Python的Global Interpretor Lock的比较好的文章 耐心看完会有好多收获,我的收获就是

Python多线程 < Python单线程 < Python多进程

多进程请用python multiprocessing

参见PEP: 371 python2.6引入pyProcessing

并更名为 multiprocessing

The current CPython interpreter implements the Global Interpreter Lock (GIL) and barring

work in Python 3000 or other versions currently planned [2], the GIL will remain as-is

within the CPython interpreter for the foreseeable future. While the GIL itself

文章分类 后端, 运维
One comment on “Global Interpretor Lock
  1. Kelli说道:

    I’m not wohtry to be in the same forum. ROTFL

1 Pings/Trackbacks 对 "Global Interpretor Lock"

发表评论

电子邮件地址不会被公开。

在线交流

数百位业内高手和同行在等你交流
Reboot运维开发分享