1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-11212 - Clean-up MariaDB atomic operations

Removed my_atomic_initialize(): it doesn't make sense anymore.
This commit is contained in:
Sergey Vojtovich
2016-11-02 15:27:12 +04:00
parent 1369e70b56
commit 8f9999b5fc
11 changed files with 4 additions and 102 deletions

View File

@@ -350,10 +350,6 @@ make_atomic_store(ptr)
#define LF_BACKOFF (1)
#endif
#define MY_ATOMIC_OK 0
#define MY_ATOMIC_NOT_1CPU 1
extern int my_atomic_initialize();
#ifdef __ATOMIC_SEQ_CST
#define MY_MEMORY_ORDER_RELAXED __ATOMIC_RELAXED
#define MY_MEMORY_ORDER_CONSUME __ATOMIC_CONSUME