Skip to content

Commit e343dfa

Browse files
committed
Remove barrier.h
A new thing also called a "barrier" is proposed, but whether we decide to take that patch or not, this file seems to have outlived its usefulness. Thomas Munro
1 parent e132026 commit e343dfa

File tree

8 files changed

+7
-30
lines changed

8 files changed

+7
-30
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include "commands/tablespace.h"
4242
#include "miscadmin.h"
4343
#include "pgstat.h"
44+
#include "port/atomics.h"
4445
#include "postmaster/bgwriter.h"
4546
#include "postmaster/walwriter.h"
4647
#include "postmaster/startup.h"
@@ -51,7 +52,6 @@
5152
#include "replication/snapbuild.h"
5253
#include "replication/walreceiver.h"
5354
#include "replication/walsender.h"
54-
#include "storage/barrier.h"
5555
#include "storage/bufmgr.h"
5656
#include "storage/fd.h"
5757
#include "storage/ipc.h"

src/backend/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
#include "bootstrap/bootstrap.h"
3535
#include "common/username.h"
36+
#include "port/atomics.h"
3637
#include "postmaster/postmaster.h"
37-
#include "storage/barrier.h"
3838
#include "storage/s_lock.h"
3939
#include "storage/spin.h"
4040
#include "tcop/tcopprot.h"

src/backend/postmaster/bgworker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
#include "libpq/pqsignal.h"
1818
#include "miscadmin.h"
1919
#include "pgstat.h"
20+
#include "port/atomics.h"
2021
#include "postmaster/bgworker_internals.h"
2122
#include "postmaster/postmaster.h"
22-
#include "storage/barrier.h"
2323
#include "storage/dsm.h"
2424
#include "storage/ipc.h"
2525
#include "storage/latch.h"

src/backend/storage/ipc/latch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656

5757
#include "miscadmin.h"
5858
#include "pgstat.h"
59+
#include "port/atomics.h"
5960
#include "portability/instr_time.h"
6061
#include "postmaster/postmaster.h"
61-
#include "storage/barrier.h"
6262
#include "storage/latch.h"
6363
#include "storage/pmsignal.h"
6464
#include "storage/shmem.h"

src/backend/storage/ipc/shm_toc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#include "postgres.h"
1515

16-
#include "storage/barrier.h"
16+
#include "port/atomics.h"
1717
#include "storage/shm_toc.h"
1818
#include "storage/spin.h"
1919

src/backend/storage/lmgr/s_lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#include <unistd.h>
5252

5353
#include "storage/s_lock.h"
54-
#include "storage/barrier.h"
54+
#include "port/atomics.h"
5555

5656

5757
#define MIN_SPINS_PER_DELAY 10

src/include/pgstat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#include "datatype/timestamp.h"
1515
#include "fmgr.h"
1616
#include "libpq/pqcomm.h"
17+
#include "port/atomics.h"
1718
#include "portability/instr_time.h"
1819
#include "postmaster/pgarch.h"
19-
#include "storage/barrier.h"
2020
#include "storage/proc.h"
2121
#include "utils/hsearch.h"
2222
#include "utils/relcache.h"

src/include/storage/barrier.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy