-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable option to use the Windows ThreadPool (#85373)
When running on Windows, enable an option to switch between the Portable thread pool and the Windows thread pool. This change targets NativeAOT, CoreCLR, and Mono. Windows threadpool remains as the default for NativeAOT on Windows. For any other case the Portable thread pool remains the default. Tests with the Windows thread pool enabled were added to the System.Threading.Threadpool solution. Trimming is enabled to remove the unused thread pool. --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Koundinya Veluri <kouvel@users.noreply.github.com>
- Loading branch information
1 parent
226e3ec
commit 0a0fa13
Showing
53 changed files
with
2,207 additions
and
1,413 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
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
56 changes: 0 additions & 56 deletions
56
src/coreclr/System.Private.CoreLib/src/System/Threading/ThreadPool.CoreCLR.Windows.cs
This file was deleted.
Oops, something went wrong.
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
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
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
26 changes: 0 additions & 26 deletions
26
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Threading/ThreadPool.NativeAot.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.