#include "xsens_threadpool.h"#include <unistd.h>#include <cxxabi.h>#include <vector>#include <xstypes/xsexception.h>#include "threading.h"#include <atomic>
Go to the source code of this file.
Classes | |
| class | xsens::PooledTask |
| A class that contains a task and some administrative stuff. More... | |
| class | xsens::PooledThread |
| A class that contains a thread that runs in a ThreadPool to execute tasks. More... | |
Namespaces | |
| xsens | |
Typedefs | |
| typedef std::vector< std::shared_ptr< PooledTask > > | xsens::TaskList |
| typedef std::map< unsigned int, std::shared_ptr< PooledTask > > | xsens::TaskSet |
| typedef std::set< PooledThread * > | xsens::ThreadSet |
Functions | |
| int | xsens::processorCount () |
| Returns the number of processor cores in the current system. More... | |
Variables | |
| bool | xsens::gManagePool = true |
| ThreadPool * | xsens::gPool = NULL |