Fixed missing header
This commit is contained in:
parent
3bc2048309
commit
da8108cfc8
@ -287,6 +287,21 @@ os_atomic_increment(
|
|||||||
volatile lint* ptr, /* in: pointer to target */
|
volatile lint* ptr, /* in: pointer to target */
|
||||||
lint amount); /* in: amount of increment */
|
lint amount); /* in: amount of increment */
|
||||||
|
|
||||||
|
/**************************************************************
|
||||||
|
Memory barrier operations for InnoDB.
|
||||||
|
Currently requires GCC atomic builtins. */
|
||||||
|
UNIV_INLINE
|
||||||
|
void
|
||||||
|
os_memory_barrier_load();
|
||||||
|
|
||||||
|
UNIV_INLINE
|
||||||
|
void
|
||||||
|
os_memory_barrier_store();
|
||||||
|
|
||||||
|
UNIV_INLINE
|
||||||
|
void
|
||||||
|
os_memory_barrier();
|
||||||
|
|
||||||
#endif /* UNIV_SYNC_ATOMIC */
|
#endif /* UNIV_SYNC_ATOMIC */
|
||||||
|
|
||||||
#ifndef UNIV_NONINL
|
#ifndef UNIV_NONINL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user