RWTCounter<RWMutexLock> RWTCountingBody<Mutex> RWTMonitor<Mutex>
None
#include <rw/pointer/RWSafeCounter.h>
typedef RWTCounter<RWMutexLock> RWSafeCounter;
The typedef RWSafeCounter implements the multithread-safe reference counter, which can be used as the counter template parameter for RWTCountingPointer.
RWTCountingPointer<int, RWSafeCounter> pointer = new int(10);
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.