Home
last modified time | relevance | path

Searched refs:counter (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Drefbase.h57 * @brief Reference counter class. Such a class records two kinds
81 explicit RefCounter(RefCounter *counter);
83 RefCounter &operator=(const RefCounter &counter);
306 * @param counter Pointer to corresponding RefCounter object.
309 WeakRefCounter(RefCounter *counter, void *cookie);
471 * @brief Gets the pointer to corresponding counter object.
473 * @return Pointer to the counter object.
604 // counter of this RefBase object
/commonlibrary/c_utils/base/src/
H A Drefbase.cpp24 WeakRefCounter::WeakRefCounter(RefCounter *counter, void *cookie) in WeakRefCounter() argument
25 : atomicWeak_(0), refCounter_(counter), cookie_(cookie) in WeakRefCounter()
362 // someone else changed the counter.re-acquire the counter value. in AttemptIncStrongRef()
452 * and the application should not share the reference counter.

Completed in 3 milliseconds