nm_refcount_s Struct Reference
a reference-counter that keeps trace of who increments/decrements in debug: full reference tracking in optimized: a plain counter managed with atomics, and nothing else More...
#include <nm_core_types.h>
Data Fields | |
| atomic_int | refcount |
| the counter itself | |
Detailed Description
a reference-counter that keeps trace of who increments/decrements in debug: full reference tracking in optimized: a plain counter managed with atomics, and nothing else
Definition at line 224 of file nm_core_types.h.
Field Documentation
◆ refcount
| atomic_int nm_refcount_s::refcount |
the counter itself
Definition at line 226 of file nm_core_types.h.
Referenced by nm_refcount_dec(), nm_refcount_get(), nm_refcount_inc_internal(), and nm_refcount_init().
The documentation for this struct was generated from the following file: