Make Node::orphan_node_count thread-safe

This commit is contained in:
Ryan
2025-08-22 23:02:51 -04:00
parent 1ce3101fbc
commit 6ebef31b3c
5 changed files with 25 additions and 9 deletions

View File

@ -130,7 +130,9 @@ public:
bool operator()(const Node *p_a, const Node *p_b) const { return p_b->is_greater_than(p_a); }
};
static int orphan_node_count;
#ifdef DEBUG_ENABLED
static SafeNumeric<uint64_t> total_node_count;
#endif
void _update_process(bool p_enable, bool p_for_children);