forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two Stream.Read/WriteAsync improvements
A logical port of two of the three fixes in dotnet/coreclr#2724. Makes it so that Read/WriteAsync calls are serialized asynchronously rather than synchronously, and so that Wait()'ing on a Read/WriteAsync task may be able to inline the execution onto the current thread. This also reduces allocations when calling Read/WriteAsync (though there are still more optimizations that could be done). Commit migrated from dotnet/corefx@556f7e2
- Loading branch information
1 parent
262a721
commit 3667b86
Showing
1 changed file
with
28 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters