摘要: 一.线程 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) 编辑