首页 > 其他 > 详细

Global Interpretor Lock

时间:2014-10-04 15:53:06      阅读:230      评论:0      收藏:0      [点我收藏+]

讲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

 

Global Interpretor Lock

原文:http://www.cnblogs.com/51reboot/p/4006053.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!