此文深入浅出的讲了多线程
https://www.cnblogs.com/yeayee/p/4952022.html
此文讲了主线程与子线程
http://www.cnblogs.com/tianqizhi/p/9307974.html
此文详细的讲了多线程与多进程(再学习)
https://www.cnblogs.com/whatisfantasy/p/6440585.html
此文用实例证明了多进程和多线程谁快
https://www.cnblogs.com/AsuraDong/p/threading_process.html
多进程编程的文(再学习)
https://www.cnblogs.com/yang520ming/p/8818447.html
https://www.cnblogs.com/linhaifeng/articles/7428874.html
详细讲了多进程
http://www.cnblogs.com/kaituorensheng/p/4445418.html
线程通信
https://www.zhihu.com/search?type=content&q=Python%20%E7%BA%BF%E7%A8%8B%E9%80%9A%E4%BF%A1
conclusion:
1)cpu密集型任务用多进程(循环,计数)
2)IO密集型任务用多线程(爬虫,从硬盘读取文件)
网友评论