Class CSPPool<T>
Description
This template class works as a thread safe object pool. Objects from such a pool, can safely be picked and used by a thread, guaranteeing that no other thread is using it at the same time.
Member functions:
Add(const T& Object, unsigned long ulCount = 1)
AddNew(unsigned long ulCount = 1)
Get(CSPPool<T>::ObjectPtr& spObject)
GetCount()
Remarks:
For information on how to pick and use a pooled object, see class
CSPPool<T>::ObjectPtr
See also:
classes
CSPPool<T>::ObjectPtr
,
CSPThread
Template classes
|
Class Categories
|
Online help home
|
Back
www.micronovae.com
Copyright © 2002 - 2005 Micronovae Ltd