- Category:
- Java Develop
- Tags:
-
- File Size:
- 215kb
- Update:
- 2017-12-27
- Downloads:
- 0 Times
- Uploaded by:
- 廖火火
Description: 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.
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
JAVA线程池实验报告.docx | 220832 | 2017-11-30 |