1
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-05-16 09:48:05 +08:00

Provide access to the base threadpool classes

This commit is contained in:
Benoit Steiner 2016-04-21 17:59:33 -07:00
parent 33adce5c3a
commit 4bbc97be5e

@ -15,8 +15,10 @@ namespace Eigen {
// Use the SimpleThreadPool by default. We'll switch to the new non blocking
// thread pool later.
#ifdef EIGEN_USE_NONBLOCKING_THREAD_POOL
template <typename Env> using ThreadPoolTempl = NonBlockingThreadPoolTempl<Env>;
typedef NonBlockingThreadPool ThreadPool;
#else
template <typename Env> using ThreadPoolTempl = SimpleThreadPoolTempl<Env>;
typedef SimpleThreadPool ThreadPool;
#endif