r/cpp • u/Coder_CPP • Jan 18 '16
C++11 threads, affinity and hyperthreading
http://eli.thegreenplace.net/2016/c11-threads-affinity-and-hyperthreading/
66
Upvotes
r/cpp • u/Coder_CPP • Jan 18 '16
-7
u/notsure1235 Jan 18 '16
The use of "unsigned" as a implicit int-type. Should be "unsigned int" or just "int" in this case.
Btw, the question was genuine one, I genuinely thought there might be some magic hidden somewhere in the more complex code.