Global thread pools, which use system thread pools on Windows, and slacker singleton thread pools on UNIX platforms.
More...
#include <GlobalThreadPool.h>
|
template<class ReturnType > |
std::shared_future< ReturnType > | postTask (const std::function< ReturnType()> &func) |
|
|
static void | postTask (const std::function< void()> &func) |
|
template<class RETURN_TYPE > |
static std::shared_future< RETURN_TYPE > | postTask (const std::function< RETURN_TYPE()> &func) |
|
Global thread pools, which use system thread pools on Windows, and slacker singleton thread pools on UNIX platforms.
◆ postTask() [1/3]
template<class RETURN_TYPE >
static std::shared_future< RETURN_TYPE > sese::GlobalThreadPool::postTask |
( |
const std::function< RETURN_TYPE()> & | func | ) |
|
|
static |
◆ postTask() [2/3]
template<class ReturnType >
std::shared_future< ReturnType > sese::GlobalThreadPool::postTask |
( |
const std::function< ReturnType()> & | func | ) |
|
◆ postTask() [3/3]
void sese::GlobalThreadPool::postTask |
( |
const std::function< void()> & | func | ) |
|
|
static |
◆ globalThreadPool
The documentation for this class was generated from the following files: