The Pool class
A Pool is a container for, and controller of, an adjustable number of Workers.
Intro
A Pool is a container for, and controller of, an adjustable number of Workers.
Pooling provides a higher level abstraction of the Worker functionality, including the management of references in the way required by pthreads.
Class synopsis
Properties
sizemaximum number of Workers this Pool can use
classthe class of the Worker
workersreferences to Workers
ctorthe arguments for constructor of new Workers
lastoffset in workers of the last Worker used
Pool