my-go-examples icon indicating copy to clipboard operation
my-go-examples copied to clipboard

What is the difference between set affinity and lock thread?

Open NikasZalias opened this issue 10 months ago • 0 comments

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

NikasZalias avatar Apr 09 '24 06:04 NikasZalias