pgsql: Split WaitEventSet functions to separate source file

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Split WaitEventSet functions to separate source file
Date: 2025-03-05 23:28:00
Message-ID: E1tpy9g-000zVX-2J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/8a507fb6-df28-49d3-81a5-ede180d7f0fb@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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-03-06 01:00:38 pgsql: Add more monitoring data for WAL writes in the WAL receiver
Previous Message Fujii Masao 2025-03-05 23:24:27 pgsql: ecpg: Fix compiler warning in ecpg build with Meson.