#include "storage/s_lock.h"
Go to the source code of this file.
Defines | |
#define | pg_memory_barrier(x) do { S_LOCK(&dummy_spinlock); S_UNLOCK(&dummy_spinlock); } while (0) |
#define | pg_read_barrier() pg_memory_barrier() |
#define | pg_write_barrier() pg_memory_barrier() |
Variables | |
slock_t | dummy_spinlock |
#define pg_memory_barrier | ( | x | ) | do { S_LOCK(&dummy_spinlock); S_UNLOCK(&dummy_spinlock); } while (0) |