0

Is there a standard/procedure in C(99)/posix to pin threads to cores? In my case, I am using cygwin (pthreads), I am looking for a method equal to "pthread_setaffinity_np" of gcc (which is non portable), And using openMP is not a solution for me.

I have searched for it high and low, but it is beyond me how such a thing is not adopted by any standard yet, I am sure i am missing on something, Can anyone point me towards the right direction?

Illasera
  • 90
  • 9

0 Answers0