-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Use the portable timer implementation in CoreCLR #71864
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
Conversation
|
Tagging subscribers to this area: @mangod9 Issue DetailsFixes #46266
|
|
No significant difference in timer microbenchmarks:
|
|
Do we want to update NativeAOT's project file too? |
This is switching CoreCLR to what NativeAOT used since forever. |
jkotas
left a comment
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.
Nice!
|
@jkotas, I meant these defaults: runtime/src/coreclr/nativeaot/System.Private.CoreLib/src/System.Private.CoreLib.csproj Lines 28 to 35 in a4b5376
false.
|
|
NativeAOT is using native Windows OS threadpool and timers on Windows. We may want to change it, but not in this PR. It is not obvious that it would be an improvement. |
|
❤️ |
|
The only nit would be to remove the comment saying that this is a Unix specific implementation of the timer queue |
Fixes #46266