summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2020-04-15 18:35:48 +0400
committerSergey Vojtovich <svoj@mariadb.org>2020-04-15 18:36:07 +0400
commit5876ed9e5b573596d449edfafc1f99caf5fd03d0 (patch)
treee5f4c19b5ee2de3b6f9dd57bcdcc8914fcba4faf /include
parentc1bdf62452139e9310d3234266802748ba4c74b8 (diff)
downloadmariadb-git-5876ed9e5b573596d449edfafc1f99caf5fd03d0.tar.gz
Relay_log_info::executed_entries to Atomic_counter
Diffstat (limited to 'include')
-rw-r--r--include/my_pthread.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index eeee0c387cb..ee8ab75b847 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -827,16 +827,6 @@ static inline void thread_safe_decrement32(int32 *value)
(void) my_atomic_add32_explicit(value, -1, MY_MEMORY_ORDER_RELAXED);
}
-static inline void thread_safe_increment64(int64 *value)
-{
- (void) my_atomic_add64_explicit(value, 1, MY_MEMORY_ORDER_RELAXED);
-}
-
-static inline void thread_safe_decrement64(int64 *value)
-{
- (void) my_atomic_add64_explicit(value, -1, MY_MEMORY_ORDER_RELAXED);
-}
-
/*
No locking needed, the counter is owned by the thread
*/