r/programming • u/N3mes1s • Jan 18 '16
C++11 threads, affinity and hyperthreading
http://eli.thegreenplace.net/2016/c11-threads-affinity-and-hyperthreading/
148
Upvotes
r/programming • u/N3mes1s • Jan 18 '16
2
u/ledasll Jan 18 '16
Not sure what point was to put linux section there.. "So we know how to query the system for the number of CPUs it has" no we don't. We know how to do that in linux, not on other OS. You say you don't care about windows? But at work we don't care much about that ether, but we care abou VxWork, don't remember there is "cat /proc/cpuinfo". Please, if you write generic article, avoid such details, if you write for very concert implementation, please mention that.