bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
thread_pool.h File Reference
#include "bitsim/bitsim_types.h"
#include "bitsim/utils/concurrency/concurrent_queue.h"
#include <boost/noncopyable.hpp>
#include <functional>
#include <future>
#include <memory>
#include <stdexcept>
#include <thread>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for thread_pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bitsim::utils::concurrency::ThreadPool
 A fixed number of threads that run the tasks given to them, in the order given. More...

Namespaces

namespace  bitsim
namespace  bitsim::utils
namespace  bitsim::utils::concurrency

Functions

ThreadPool & bitsim::utils::concurrency::default_thread_pool ()
 The pool that parallel_for() and parallel_map() use when given none. It starts ThreadPool::default_n_threads() threads the first time it is used.