-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove ThreadPool native implementation #71719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jkotas
merged 22 commits into
dotnet:main
from
eduardo-vp:update/remove-threadpool-native-implementation
Aug 21, 2022
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d064de8
Remove UsePortableThreadPool() and UsePortableThreadPoolForIO()
be8de40
Delete more unnecessary functions
14e1757
Delete win32threadpool.cpp and win32threadpool.h
a5e1c9e
Add win32threadpool with other changes
a2b65d1
Add win32threadpool header back
aa50140
Current changes go until 381/577 during build native
568477e
Delete GetHillClimbingLogEntry in request.cpp, Delete hillclimbing st…
be9e5d4
Delete hillclimbing stuff in function GetThreadpoolData in request.cpp
8064d92
Delete GetHillClimbingLogEntry in dacimpl.h, sospriv.idl, sospriv.h
9cf256c
Delete DacpHillClimbingLogEntry in dacprivate.h
d24f554
Revert "Delete DacpHillClimbingLogEntry in dacprivate.h"
c3a8389
Revert "Delete GetHillClimbingLogEntry in dacimpl.h, sospriv.idl, sos…
566b4d7
Change GetThreadpoolData in request.cpp to return E_NOTIMPL
ed44b47
Keep SOSDacLeave(); in GetThreadpoolData in request.cpp
b6291d5
Merge branch 'main' into update/remove-threadpool-native-implementation
jkotas bdb28c7
Delete mode unused code
jkotas 98fe65e
Delete TPIndex
jkotas 43efcf4
Update src/coreclr/System.Private.CoreLib/src/System/Threading/Thread…
jkotas 86aa5ac
Merge branch 'main' into update/remove-threadpool-native-implementation
jkotas afdd6c8
CR feedback
jkotas e0ba959
Fix crst ordering`
jkotas 11da1f5
Cleanup
jkotas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about porting the rest of the
Overlappedfcalls to managed code? EspeciallyGetOverlappedFromNativewhose implementation is trivial (just casting a pointer and a couple of dereferences) would be benefitted from being inlined by the JIT.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there are more follow up improvements that can be done here. Not as part of this PR through.