摘要: 1.进程 进程是资源分配的最小单位,线程是CPU调度的最小单位。每一个进程中至少有一个线程。 主进程中的线程称为主线程,其他开启的线程称为子线程 # 如何开启线程 from multiprocessing import Process from threading import Thread def 阅读全文
posted @ 2021-09-02 16:01 OVO_3V3 阅读(36) 评论(0) 推荐(0)