I am running CC compiler over SUN/Solaris, I have more then 64 threads assigned by the OS to different cores. I am interested to know if there is method to get the core id for different threads during run time?
I am not setting affinity for those threads, i use psrset to create the processor set.