Zero  0.1.0
Public Member Functions | Public Attributes | List of all members
thread_pool Struct Reference

#include <kits_thread.h>

Public Member Functions

 thread_pool (int max_active)
 
void start ()
 
void stop ()
 

Public Attributes

pthread_mutex_t _lock
 
pthread_cond_t _cond
 
int _max_active
 
int _active
 

Constructor & Destructor Documentation

§ thread_pool()

thread_pool::thread_pool ( int  max_active)
inline

Member Function Documentation

§ start()

void thread_pool::start ( )

§ stop()

void thread_pool::stop ( )

Member Data Documentation

§ _active

int thread_pool::_active

§ _cond

pthread_cond_t thread_pool::_cond

§ _lock

pthread_mutex_t thread_pool::_lock

§ _max_active

int thread_pool::_max_active

The documentation for this struct was generated from the following files: