Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
Unknown
Description
Sometimes you want to use a async task to run some task, and for that the thread pools can be used.
However there may not be a need for the thread pool to keep 1 thread in the pool. So we should allow the pool to shrink to 0.