15 #include "referenceCount.h" 16 #include "atomicAdjust.h" 17 #include "mutexImpl.h" 29 do_test_ref_count_integrity()
const {
30 nassertr(
this != NULL,
false);
39 nassertr(_ref_count != deleted_ref_count,
false);
44 nassertr(_ref_count >= 0,
false);
56 do_test_ref_count_nonzero()
const {
57 nassertr(do_test_ref_count_integrity(),
false);
58 nassertr(_ref_count > 0,
false);
74 if (orig != (
void *)NULL) {
This is a list of WeakPointerTo's that share a reference to a given ReferenceCount object...
TypeHandle is the identifier used to differentiate C++ class types.
static Pointer compare_and_exchange_ptr(Pointer &mem, Pointer old_value, Pointer new_value)
Atomic compare and exchange.