Introduce to Java Thread
The question mainly focused on this paper are: 为什么需要多线程? 多线程带来了什么问题,如何避免? 线程的属性、状态、生命周期详解 什么是ThreadLocal? 为什么需要线程池? 线程池的构造函数中的参数都是什么含义?
- Why Thread
- The side-effect of thread, how to avoid this?
- Attribute, status and life circle of thread
- What is ThreadLocal
- Why Thread pool
- The meaning of parameters in Thread pool