-
template
class
ThreadSafeObjectPool<class Object>
: public ObjectPool<Object>
(Return to index)
-
Same as your average ObjectPool, but uses a BLocker to serialize operations,so that it may be safely shared between threads. Only compiles under BeOS!
Type:
Superclasses:
Include file:
../../besupport/ThreadSafeObjectPool.h
Synopsis:
- Public:
-
ThreadSafeObjectPool
(uint32 maxPoolSize=100, ObjectCallback recycleCallback = NULL, void * recycleData = NULL, ObjectCallback initCallback = NULL, void * initData = NULL)
;
-
- Protected:
- virtual void
Lock
()
;
-
- virtual void
Unlock
()
;
-
Public methods:
Protected methods: