gz/common/WorkerPool.hh
Go to the documentation of this file.
A Time class, can be used to hold wall- or sim-time. stored as sec and nano-sec.
Definition: gz/common/Time.hh:35
A pool of worker threads that do stuff in parallel.
Definition: gz/common/WorkerPool.hh:38
WorkerPool(const unsigned int _minThreadCount=1u)
Creates worker threads. The number of worker threads is determined by max(std::thread::hardware_concu...
void AddWork(std::function< void()> _work, std::function< void()> _cb=std::function< void()>())
Adds work to the worker pool with optional callback.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: gz/common/SuppressWarning.hh:65
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/common/SuppressWarning.hh:68
Forward declarations for the common classes.
STL namespace.