Skip to content
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

Save allocations of closures and allow delegate caching in Windows code that schedules async work. #664

Merged
merged 2 commits into from
Jun 27, 2018
Merged

Save allocations of closures and allow delegate caching in Windows code that schedules async work. #664

merged 2 commits into from
Jun 27, 2018

Conversation

danielcweber
Copy link
Collaborator

No description provided.

{
internal static class ThreadPoolTimerExtensions
{
public static IDisposable AsDisposable(this global::Windows.System.Threading.ThreadPoolTimer threadPoolTimer)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an ambiguity without global:: here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the ambiguity is with other classes, which is why it's all put in the global namespace. I can do some cleanup.

@danielcweber danielcweber merged commit d981f09 into dotnet:master Jun 27, 2018
@danielcweber danielcweber deleted the SaveAllocationsInCancellationOnWindows branch June 27, 2018 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants