¡@

Home 

c++ Programming Glossary: available_

Thread pool using boost asio

http://stackoverflow.com/questions/12215395/thread-pool-using-boost-asio

work work_ boost thread_group threads_ std size_t available_ boost mutex mutex_ public @brief Constructor. thread_pool std.. thread_pool std size_t pool_size work_ io_service_ available_ pool_size for std size_t i 0 i pool_size i threads_.create_thread.. lock mutex_ If no threads are available then return. if 0 available_ return Decrement count indicating thread is no longer available...