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

Set unsafeSuppressExecutionContextFlow on SocketAsyncEventArgs #57

Open
xqrzd opened this issue Oct 7, 2020 · 3 comments
Open

Set unsafeSuppressExecutionContextFlow on SocketAsyncEventArgs #57

xqrzd opened this issue Oct 7, 2020 · 3 comments

Comments

@xqrzd
Copy link

xqrzd commented Oct 7, 2020

Is it safe to set that option on SocketAsyncEventArgs?

@mgravell
Copy link
Owner

mgravell commented Oct 7, 2020

Where are you seeing UnsafeSuppressExecutionContextFlow? What is the context here?

@xqrzd
Copy link
Author

xqrzd commented Oct 7, 2020

Sorry this was a terribly worded issue. There's a new parameter that can be passed to SocketAsyncEventArgs in .NET 5 to suppress execution context, dotnet/runtime#706. Could this project set that value to get a bit of extra performance?

@mgravell
Copy link
Owner

mgravell commented Oct 7, 2020 via email

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

No branches or pull requests

2 participants