#include <mcllib/MCRefCountAccessor.h>
Inheritance diagram for MCRefCountAccessorTmpl< MCThreadModel::THRMODELMULTI >:
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 need to be passed between threads. This implementation is about 10-15 times slower than the unsafe model.