¡@

Home 

c++ Programming Glossary: running_

Thread pool using boost asio

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

mutex mutex_ boost condition_variable condition_ bool running_ public @brief Constructor. thread_pool std size_t pool_size.. thread_pool std size_t pool_size available_ pool_size running_ true for std size_t i 0 i pool_size i threads_.create_thread.. all threads. boost unique_lock boost mutex lock mutex_ running_ false condition_.notify_all try threads_.join_all Suppress..

Create a shared-memory vector of strings

http://stackoverflow.com/questions/12980716/create-a-shared-memory-vector-of-strings

SHMEM_BUFFER_KEY allocator_ void shmem_mgr run running_ true while running_ scoped_lock interprocess_mutex lock mutex_.. allocator_ void shmem_mgr run running_ true while running_ scoped_lock interprocess_mutex lock mutex_ int size buffer_..