#include <mcllib/MCRefCountAccessor.h>
Inheritance diagram for MCRefCountAccessorTmpl< MCThreadModel::THRMODELSINGLE >:

Public Member Functions | |
| mcatomic_t | decCnt (MCRefCount *pCtr) const |
| Decrement the ref count for the specified object and return new count. | |
| mcatomic_t | incCnt (MCRefCount *pCtr) const |
| Increment the ref count for the specified object and return new count. | |
This is useful if the reference counted objects do not need to be passed between threads. This is much more efficient (10-15 times faster) than using the thread safe model, where thread safety is not a concern, but reference counting is still required.
1.3.9.1