- Notifications
You must be signed in to change notification settings - Fork5.1k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedJul 9, 2022
Tagging subscribers to this area:@mangod9 |
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. |
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 ina4b5376
false . |
jkotas commentedJul 9, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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