Added the ability to switch to the new thread pool with a #define

This commit is contained in:
Benoit Steiner 2016-04-21 11:59:58 -07:00
parent 79b900375f
commit 33adce5c3a

View File

@ -14,7 +14,11 @@ namespace Eigen {
// Use the SimpleThreadPool by default. We'll switch to the new non blocking
// thread pool later.
#ifdef EIGEN_USE_NONBLOCKING_THREAD_POOL
typedef NonBlockingThreadPool ThreadPool;
#else
typedef SimpleThreadPool ThreadPool;
#endif
// Barrier is an object that allows one or more threads to wait until