mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Added the ability to switch to the new thread pool with a #define
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user