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:
@@ -127,7 +127,7 @@ InitPostmasterChild(void)
|
||||
#endif
|
||||
|
||||
/* Initialize process-local latch support */
|
||||
InitializeLatchSupport();
|
||||
InitializeWaitEventSupport();
|
||||
InitProcessLocalLatch();
|
||||
InitializeLatchWaitSet();
|
||||
|
||||
@@ -188,7 +188,7 @@ InitStandaloneProcess(const char *argv0)
|
||||
InitProcessGlobals();
|
||||
|
||||
/* Initialize process-local latch support */
|
||||
InitializeLatchSupport();
|
||||
InitializeWaitEventSupport();
|
||||
InitProcessLocalLatch();
|
||||
InitializeLatchWaitSet();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user