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

Enable async-over-sync FileStream read/writes to be cancelable on Windows #87103

Merged
merged 2 commits into from
Jun 16, 2023

Commits on Jun 15, 2023

  1. Enable async-over-sync FileStream read/writes to be cancelable on Win…

    …dows
    
    Using the same helpers we previously used to enable this in pipe streams on Windows, enable FileStream.Read/WriteAsync on a FileStream created for synchronous I/O to be cancelable.  This also makes some tweaks to those helpers to reduce allocation when a cancelable token is supplied.
    stephentoub committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    d7bd8d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Update src/libraries/Common/src/System/Threading/AsyncOverSyncWithIoC…

    …ancellation.cs
    
    Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
    stephentoub and adamsitnik authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    9287e53 View commit details
    Browse the repository at this point in the history