HumphreyHao / humphreyhao.github.io

private repo for create a homepage
1 stars 0 forks source link

多线程 | Humphrey爵士的小海豚 #6

Open HumphreyHao opened 4 years ago

HumphreyHao commented 4 years ago

https://humphreyhao.github.io/2018/12/02/duo-xian-cheng/

多线程1.什么是线程池一种多线程处理形式,处理时把任务提交到线程池,任务的执行由线程池管理. 2.为什么要使用1,不同请求之间重复利用线程,无需频繁的创建和销毁线程,降低系统开销和控制线程数量上限,避免创建过多的线程耗尽进程内存空间.2,同