cppthread 1.1.16
C++ Thread Library
Classes
pool.h File Reference

Thread Runner and Managers. More...

#include <cppthread/exception.h>
#include <cppthread/fifo.h>
#include <cppthread/thread.h>
Include dependency graph for pool.h:

Go to the source code of this file.

Classes

class  cppthread::pool< W, A >
 Manage a pool of worker threads. More...
 
class  cppthread::pool< W, A >::worker_thread_t
 Class used to manage the worker and worker thread. More...
 

Detailed Description

This file includes the declaration and implementation (For templates) of classes used to manage threads the easy way. Especially, our implementation is aware of object destructors so a thread manager (snap_thread) can be destroyed. It will automatically and properly wait for its runner (the actual system pthread) to exit before finishing up its and its runner clean up.

Definition in file pool.h.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.