title: Assign 1 cpu core to 1 thread c++
body: <p>I have a process which create 3 threads. I want to assign 1 thread to 1 cpu core (CPU has 8 physical cores) and those cores only run my threads. Because i want to make sure my computation thread always run with highest priority.</p>
  
  <p>For example: Thread 1 is assigned to core 1, and core 1 is only run thread 1. Core 0,2,3,4,5,6,7 is freely to run others threads from others processes. </p>
  
  <p>Does any library support this? or anyone know how to do it?</p>