Commit eb07b0fa authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed missing header

parent 5be1b7e4
......@@ -287,6 +287,21 @@ os_atomic_increment(
volatile lint* ptr, /* in: pointer to target */
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 */
#ifndef UNIV_NONINL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment