Fixed missing header

This commit is contained in:
Mikael Ronstrom 2008-12-15 10:46:02 +01:00
parent 3bc2048309
commit da8108cfc8

View File

@ -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