Split WaitEventSet functions to separate source file
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 5 Mar 2025 23:26:16 +0000 (01:26 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 5 Mar 2025 23:26:16 +0000 (01:26 +0200)
commit393e0d2314050576c9c039853fdabe7f685a4f47
tree8b31883e6b9f197b1767476af16b432ac2128812
parent84e5b2f07a5e8ba983ff0f6e71b063b27f45f346
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 <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/8a507fb6-df28-49d3-81a5-ede180d7f0fb@iki.fi
src/backend/libpq/pqsignal.c
src/backend/postmaster/postmaster.c
src/backend/storage/ipc/Makefile
src/backend/storage/ipc/latch.c
src/backend/storage/ipc/meson.build
src/backend/storage/ipc/waiteventset.c [new file with mode: 0644]
src/backend/utils/init/miscinit.c
src/include/storage/latch.h
src/include/storage/waiteventset.h [new file with mode: 0644]