You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In .NET Core 2.1 we added a generic overload of QueueUserWorkItem that can avoid boxing the state parameter https://github.com/dotnet/corefx/issues/27464#issue-300109510. We should add the same overload for UnsafeQueueUserWorkItem. I'd like to use this in pipelines to offer a PipeScheduler that avoids capturing the ExecutionContext.
Given that we already approved the Unsafe* pattern here and that we did this overload for the non-unsafe ones, there is no reason not to approve this :-)
In .NET Core 2.1 we added a generic overload of QueueUserWorkItem that can avoid boxing the state parameter https://github.com/dotnet/corefx/issues/27464#issue-300109510. We should add the same overload for UnsafeQueueUserWorkItem. I'd like to use this in pipelines to offer a PipeScheduler that avoids capturing the
ExecutionContext
.cc @stephentoub
The text was updated successfully, but these errors were encountered: