3 ms·
I don't have much experience with clang, but there are still better ways to express a list of threads: - thread t[NUM_THREADS]; // since NUM_THREADS is con
by steve-howard 15y ago
I don't have much experience with clang, but there are still better ways to express a list of threads:
- thread t[NUM_THREADS]; // since NUM_THREADS is constant
- std::unique_ptr<thread[]> t(new thread[NUM_THREADS])