¡@

Home 

c++ Programming Glossary: outqueuelock

A very simple thread pool using pthreads in C++

http://stackoverflow.com/questions/3561095/a-very-simple-thread-pool-using-pthreads-in-c

coutLock pthread_mutex_t inQueueLock pthread_mutex_t outQueueLock the shared data std list std string inQueue std list std string.. delay select 0 NULL NULL NULL timeout pthread_mutex_lock outQueueLock outQueue.push_back workOnMe pthread_mutex_unlock outQueueLock.. outQueue.push_back workOnMe pthread_mutex_unlock outQueueLock pthread_exit NULL int main int argc char argv unsigned long..