CatapultServer  v0.5.0.1 (Elephant)
ToolThreadUtils.h File Reference
Include dependency graph for ToolThreadUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::thread
 
 catapult::tools
 

Functions

template<typename TAction , typename TFuture >
bool catapult::tools::UnwrapFutureAndSuppressErrors (const char *description, TFuture &&future, TAction action)
 
std::shared_ptr< thread::IoThreadPool > catapult::tools::CreateStartedThreadPool (uint32_t numThreads=1)
 Creates a started thread pool with numThreads threads. More...