-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Use IValueTaskSource in PipeStream on Windows #52695
Use IValueTaskSource in PipeStream on Windows #52695
Conversation
Tagging subscribers to this area: @carlossanlop Issue DetailsUse IValueTaskSource in NamedPipeServerStream on Windows Closes #51463 /cc @stephentoub
|
src/libraries/System.IO.Pipes/src/System/IO/Pipes/ConnectionValueTaskSource.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.IO.Pipes/src/System/IO/Pipes/NamedPipeServerStream.Windows.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeValueTaskSource.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeValueTaskSource.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Windows.cs
Outdated
Show resolved
Hide resolved
a98fa7c
to
3ab26fb
Compare
@stephentoub This PR is assigned to you for follow-up/decision before the RC1 snap. |
3ab26fb
to
a218fed
Compare
I pushed a commit to revise the implementation to match the latest in FileStream. As for the perf tests, the tests themselves aren't great. I've revised them in dotnet/performance#1897. The relevant ones look fine:
|
@adamsitnik, can you review? Thanks. |
a218fed
to
64664c2
Compare
64664c2
to
e648ecf
Compare
There's a real test failure happening here, and I'm trying to figure out why. So far it's only occurred on x86 on Windows 7. |
e648ecf
to
b0caf4c
Compare
Better match implementation in RandomAccess
b0caf4c
to
f6adcb7
Compare
Use IValueTaskSource in NamedPipeServerStream on Windows
Remove PipeCompletionSource
Closes #51463
/cc @stephentoub