会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xiaoli2018
Focus on one thing 技术改变世界
博客园
首页
新随笔
订阅
管理
2015年6月15日
python的线程thread笔记
摘要: python的线程是用thread和threading来实现的。其中利用threading会更好,因为thread没有线程保护,当主线程退出了之后,子线程也会被强行退出。threading支持守护线程。 thread中常用的方法:thread.allocate_lock() 是返回一个新的锁定...
阅读全文
posted @ 2015-06-15 12:56 xiaoli2018
阅读(172)
评论(0)
推荐(0)
编辑