Open HumphreyHao opened 4 years ago
https://humphreyhao.github.io/2018/12/02/duo-xian-cheng/
多线程1.什么是线程池一种多线程处理形式,处理时把任务提交到线程池,任务的执行由线程池管理. 2.为什么要使用1,不同请求之间重复利用线程,无需频繁的创建和销毁线程,降低系统开销和控制线程数量上限,避免创建过多的线程耗尽进程内存空间.2,同
https://humphreyhao.github.io/2018/12/02/duo-xian-cheng/
多线程1.什么是线程池一种多线程处理形式,处理时把任务提交到线程池,任务的执行由线程池管理. 2.为什么要使用1,不同请求之间重复利用线程,无需频繁的创建和销毁线程,降低系统开销和控制线程数量上限,避免创建过多的线程耗尽进程内存空间.2,同