25 do_test_ref_count_integrity()
const {
32 nassertr(_ref_count != deleted_ref_count,
false);
36 nassertr(_ref_count >= 0,
false);
45 do_test_ref_count_nonzero()
const {
46 nassertr(do_test_ref_count_integrity(),
false);
47 nassertr(_ref_count > 0,
false);
60 if (orig !=
nullptr) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is an object shared by all the weak pointers that point to the same ReferenceCount object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static Pointer compare_and_exchange_ptr(Pointer &mem, Pointer old_value, Pointer new_value)
Atomic compare and exchange.