Python的线程好像是有点蛋疼, 如果是CPU密集型的任务, 应该直接进程就好了, 大部分时候是跑满CPU核数, 如果是IO密集型的, 目前大部分都用Event Loop模型了
RE: Python3 线程 & GIL 学习笔记
You are viewing a single comment's thread from:
Python3 线程 & GIL 学习笔记
Python3 线程 & GIL 学习笔记
Python的线程好像是有点蛋疼, 如果是CPU密集型的任务, 应该直接进程就好了, 大部分时候是跑满CPU核数, 如果是IO密集型的, 目前大部分都用Event Loop模型了
感谢分享
慢慢摸索中
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
follow for free coupons
https://steemit.com/@mmansooramin
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit