Split WaitEventSet functions to separate source file

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 393e0d2314050576c9c039853fdabe7f685a4f47
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2025-03-05T23:26:16Z
Releases: 18.0
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

Files

Discussion