mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
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
This commit is contained in:
@@ -548,7 +548,7 @@ PostmasterMain(int argc, char *argv[])
|
||||
pqsignal(SIGCHLD, handle_pm_child_exit_signal);
|
||||
|
||||
/* This may configure SIGURG, depending on platform. */
|
||||
InitializeLatchSupport();
|
||||
InitializeWaitEventSupport();
|
||||
InitProcessLocalLatch();
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user