We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17eaae9 commit 93be095Copy full SHA for 93be095
src/include/port/atomics/generic-sunpro.h
@@ -25,14 +25,14 @@
25
#define pg_compiler_barrier_impl() __compiler_barrier()
26
27
#ifndef pg_memory_barrier_impl
28
-# define pg_memory_barrier_impl() __machine_rw_barrier()
29
-#endif
30
-#ifndef pg_read_barrier_impl
31
/*
32
- * Despite the name this is actually a full barrier. Expanding to mfence and
+ * Despite the name this is actually a full barrier. Expanding to mfence/
33
* membar #StoreStore | #LoadStore | #StoreLoad | #LoadLoad on x86/sparc
34
* respectively.
35
*/
+# define pg_memory_barrier_impl() __machine_rw_barrier()
+#endif
+#ifndef pg_read_barrier_impl
36
# define pg_read_barrier_impl() __machine_r_barrier()
37
#endif
38
#ifndef pg_write_barrier_impl
0 commit comments