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

[7.0] Check for pending IO in the portable thread pool's worker threads #82246

Merged
merged 2 commits into from
Mar 9, 2023

Commits on Mar 8, 2023

  1. [7.0] Check for pending IO in the portable thread pool's worker threads

    - Port of dotnet#82245
    - When Resource Monitor is attached, some async IO operations are bound to the thread that issued it even though the IO handle is bound to an IOCP. If the thread exits, the async IO operation is aborted. This can lead to hangs or unexpected exceptions.
    - Added a check that was missing in the portable thread pool implementation to prevent exiting a worker thread when it has pending IO
    
    Port of fix for dotnet#82207
    kouvel committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    2179951 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17396af View commit details
    Browse the repository at this point in the history