Thread Record

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_34569497/article/details/88039262

The minimum thread 2;

Max Threads 4;

Queue 2;

When a thread enters a thread pool 11, the minimum number of first thread pool to 2 to perform the remaining nine threads; case 6 will thread into the queue for the remaining three threads; 4 because the maximum thread, it will then execute two threads, one thread remaining; the last remaining thread into the wait.

 

Guess you like

Origin blog.csdn.net/qq_34569497/article/details/88039262
Recommended