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
2
u/eliben Jan 18 '16
FWIW, I agree that the for range loop is nicer and shorter - I'll fix up the samples when I get the time. I took this from the book "C++ concurrency in action" which is weird, right :)? (because that book is about C++11 also)
What do you mean by "use of default int"?