mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-13 18:37:27 +08:00
Added the ability to switch to the new thread pool with a #define
This commit is contained in:
parent
79b900375f
commit
33adce5c3a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user