summaryrefslogtreecommitdiff
path: root/core/safe_refcount.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <RandomShaper@users.noreply.github.com>2017-07-11 14:19:45 +0200
committerGitHub <noreply@github.com>2017-07-11 14:19:45 +0200
commit6758ba0d933a4f83e246b500639cbb99f0f0cacd (patch)
tree6a51b27a5749ff390f7847360595428b89b39eb3 /core/safe_refcount.h
parenta5d500f0233913fe7622434225c5dc73ebaccd1e (diff)
parent779693a79bd6859d6b7d2fad58dc5e20c97160c0 (diff)
Merge pull request #9014 from RandomShaper/improve-mem-stats
Improve reliability of memory stats Memory block byte tagging
Diffstat (limited to 'core/safe_refcount.h')
-rw-r--r--core/safe_refcount.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/safe_refcount.h b/core/safe_refcount.h
index d30f563b56..5c9fd996a0 100644
--- a/core/safe_refcount.h
+++ b/core/safe_refcount.h
@@ -40,6 +40,10 @@ uint32_t atomic_conditional_increment(register uint32_t *counter);
uint32_t atomic_decrement(register uint32_t *pw);
uint32_t atomic_increment(register uint32_t *pw);
+uint64_t atomic_conditional_increment(register uint64_t *counter);
+uint64_t atomic_decrement(register uint64_t *pw);
+uint64_t atomic_increment(register uint64_t *pw);
+
struct SafeRefCount {
uint32_t count;