Choreonoid  1.8
Public Member Functions | List of all members
cnoid::ThreadPool Class Reference

#include <ThreadPool.h>

Public Member Functions

 ThreadPool (int size=1)
 
 ~ThreadPool ()
 
int size () const
 
void start (std::function< void()> f)
 
void wait ()
 
void waitLoop ()
 
bool isRunning ()
 

Constructor & Destructor Documentation

◆ ThreadPool()

cnoid::ThreadPool::ThreadPool ( int  size = 1)
inline

◆ ~ThreadPool()

cnoid::ThreadPool::~ThreadPool ( )
inline

Member Function Documentation

◆ isRunning()

bool cnoid::ThreadPool::isRunning ( )
inline

◆ size()

int cnoid::ThreadPool::size ( ) const
inline

◆ start()

void cnoid::ThreadPool::start ( std::function< void()>  f)
inline

◆ wait()

void cnoid::ThreadPool::wait ( )
inline

◆ waitLoop()

void cnoid::ThreadPool::waitLoop ( )
inline

The documentation for this class was generated from the following file: