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

What is the difference between set affinity and lock thread? #582

Open
NikasZalias opened this issue Apr 9, 2024 · 0 comments
Open

What is the difference between set affinity and lock thread? #582

NikasZalias opened this issue Apr 9, 2024 · 0 comments

Comments

@NikasZalias
Copy link

Hello, I wanna understand what is the difference between both of these features? From what I tried to test it looks like both features does the same job. Although, I can see the difference in C code, but still looks like that the achieved goal is the same.

FEATURE 2 - PIN A THREAD TO A CPU (set affinity)
FEATURE 3 - LOCK A THREAD TO A CPU/CORE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant