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

Change new thread's affinity after thread starts, from the same thread, as a workaround for Snap #40205

Merged
merged 1 commit into from
Aug 4, 2020

Commits on Jul 31, 2020

  1. Change new thread's affinity after thread starts, from the same threa…

    …d, as a workaround for Snap
    
    - Snap's default strict confinement doesn't allow setting the affinity of a different thread, and currently doesn't allow `sched_setaffinity(<nonzeroPid>, ...)`, which pthread implementation calls
    - Switched to use sched_setaffinity(0, ...) where appropriate
    
    Fix for dotnet#1634 in master
    kouvel committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    911a431 View commit details
    Browse the repository at this point in the history