forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DynamicThreadPool: better thread management
1. Only gate thread can create new threads 2. Gate thread tries to wake up a worker before creating new one 3. Keep some pending workers around to minimize creation of new threads 4. Active/Created/Reserve thread stats 5. Name threads to ease memory dump analysis
- Loading branch information
Showing
1 changed file
with
44 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters