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

Modernize for .NET 6.0 LTS #1049

Merged
merged 26 commits into from
Nov 13, 2021
Merged

Modernize for .NET 6.0 LTS #1049

merged 26 commits into from
Nov 13, 2021

Conversation

yaakov-h
Copy link
Member

Essentially #1002 but properly.

@yaakov-h yaakov-h marked this pull request as ready for review November 12, 2021 05:18
@yaakov-h
Copy link
Member Author

After this is merged I'll do a separate PR that deals with Trimming.


Assert.NotEqual( -1, continuationThreadID );
Assert.NotEqual( completionThreadID, continuationThreadID );
}

static void WaitForTaskWithoutRunningInline( Task task )
Copy link
Member

Choose a reason for hiding this comment

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

Add [MethodImpl(MethodImplOptions.NoInlining)]?

Copy link
Member Author

Choose a reason for hiding this comment

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

This isn't about compiler inlining but about whether the runtime runs the task "inline" in the wait function - reaching TaskScheduler.TryRunInline

@yaakov-h yaakov-h merged commit 3a5853f into master Nov 13, 2021
@yaakov-h yaakov-h mentioned this pull request Nov 13, 2021
13 tasks
@yaakov-h yaakov-h deleted the yaakov/net6.0 branch November 13, 2021 14:25
@xPaw xPaw mentioned this pull request Jan 24, 2023
@xPaw xPaw added this to the 2.4.0 milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants