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

Add an internal mode to Lock to have it use non-alertable waits #97227

Merged
merged 2 commits into from
Jan 24, 2024

Commits on Jan 19, 2024

  1. Add an internal mode to Lock to have it use non-alertable waits

    - Added an internal constructor that enables the lock to use non-alertable waits
    - Non-alertable waits are not forwarded to `SynchronizationContext` wait overrides, are non-message-pumping waits, and are not interruptible
    - Updated most of the uses of `Lock` in NativeAOT to use non-alertable waits
    - Also simplified the fix in dotnet#94873 to avoid having to do the relevant null checks in various places along the wait path, by limiting the scope of the null checks to the initialization phase
    
    Fixes dotnet#97105
    kouvel committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    1e266da View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    6d2fa64 View commit details
    Browse the repository at this point in the history