Split WaitEventSet functions to separate source file latch.c now only contains the Latch related functions, which build on the WaitEventSet abstraction. Most of the platform-dependent stuff is now in waiteventset.c.
Reviewed-by: Andres Freund <and...@anarazel.de> Discussion: https://www.postgresql.org/message-id/8a507fb6-df28-49d3-81a5-ede180d7f...@iki.fi Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/393e0d2314050576c9c039853fdabe7f685a4f47 Modified Files -------------- src/backend/libpq/pqsignal.c | 2 +- src/backend/postmaster/postmaster.c | 2 +- src/backend/storage/ipc/Makefile | 3 +- src/backend/storage/ipc/latch.c | 2002 +------------------------------ src/backend/storage/ipc/meson.build | 1 + src/backend/storage/ipc/waiteventset.c | 2036 ++++++++++++++++++++++++++++++++ src/backend/utils/init/miscinit.c | 4 +- src/include/storage/latch.h | 67 +- src/include/storage/waiteventset.h | 97 ++ 9 files changed, 2154 insertions(+), 2060 deletions(-)