Loading...
Searching...
No Matches
ThreadPool
1// This file is part of Eigen, a lightweight C++ template library
2// for linear algebra.
3//
4// Copyright (C) 2016 Benoit Steiner <benoit.steiner.goog@gmail.com>
5//
6// This Source Code Form is subject to the terms of the Mozilla
7// Public License v. 2.0. If a copy of the MPL was not distributed
8// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
10#ifndef EIGEN_CXX11_THREADPOOL_MODULE
11#define EIGEN_CXX11_THREADPOOL_MODULE
12
13#include "../../../Eigen/Core"
14
15#include <Eigen/src/Core/util/DisableStupidWarnings.h>
16
29
30
31// The code depends on CXX11, so only include the module if the
32// compiler supports it.
33#if __cplusplus > 199711L || EIGEN_COMP_MSVC >= 1900
34#include <cstddef>
35#include <cstring>
36#include <time.h>
37
38#include <vector>
39#include <atomic>
40#include <condition_variable>
41#include <deque>
42#include <mutex>
43#include <thread>
44#include <functional>
45#include <memory>
46
47#include "src/util/CXX11Meta.h"
48#include "src/util/MaxSizeVector.h"
49
50#include "src/ThreadPool/ThreadLocal.h"
51#include "src/ThreadPool/ThreadYield.h"
52#include "src/ThreadPool/EventCount.h"
53#include "src/ThreadPool/RunQueue.h"
54#include "src/ThreadPool/ThreadPoolInterface.h"
55#include "src/ThreadPool/ThreadEnvironment.h"
56#include "src/ThreadPool/SimpleThreadPool.h"
57#include "src/ThreadPool/NonBlockingThreadPool.h"
58
59#endif
60
61#include <Eigen/src/Core/util/ReenableStupidWarnings.h>
62
63#endif // EIGEN_CXX11_THREADPOOL_MODULE
64