Introduction - If you have any usage issues, please Google them yourself
A thread pool is implemented with JAVA, and the thread pool has no working thread in the initial state. When there is an un - executed task in a work queue, two cases are dealt with:
If the number of working threads in the thread pool is MAX_SIZE, then nothing will be done.
If the number of working threads in the thread pool is less than MAX_SIZE, then a working thread is created to make it perform a new task.
For the idle working thread in the thread pool, the thread is destroyed if it is idle for more than TIMEOUT seconds.