Support dependency barriers.
authorRobert Haas <rhaas@postgresql.org>
Fri, 13 Jul 2012 20:33:41 +0000 (16:33 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Jan 2015 02:24:20 +0000 (02:24 +0000)
src/include/storage/barrier.h

index cd85633c138f4da7b7ea3698a171f935c5d2f3da..dbcc0f8a6420d5db86957514090e4416055163a5 100644 (file)
  */
 #include "port/atomics.h"
 
+/*
+ * If dependency barriers are undefined, we define them as a no-op.  The only
+ * known platform where anything more is required is DEC Alpha.
+ */
+#if !defined(pg_read_barrier_depends)
+#define pg_read_barrier_depends()
+#endif
+
 #endif   /* BARRIER_H */