会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
雾霾1024
博客园
首页
新随笔
联系
管理
订阅
2019年1月12日
线程
摘要: 一.线程 1.什么是线程(thread) 线程:线程是cpu处理的单位(实体),线程存在于进程中.线程没有主次之分,是平等的. 2.线程的两种创建方式 from threading import Thread import time def f1(n): time.sleep(1) print(f"
阅读全文
posted @ 2019-01-12 19:00 雾霾1024
阅读(153)
评论(0)
推荐(0)
编辑
公告