barrier.h 674 B

1234567891011121314151617181920212223
  1. /*-------------------------------------------------------------------------
  2. *
  3. * barrier.h
  4. * Memory barrier operations.
  5. *
  6. * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/storage/barrier.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef BARRIER_H
  14. #define BARRIER_H
  15. /*
  16. * This used to be a separate file, full of compiler/architecture
  17. * dependent defines, but it's not included in the atomics.h
  18. * infrastructure and just kept for backward compatibility.
  19. */
  20. #include "port/atomics.h"
  21. #endif /* BARRIER_H */