pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add comment to explain why PGReserveSemaphores() is called early 2+ messages / 1 participants [nested] [flat]
* pgsql: Add comment to explain why PGReserveSemaphores() is called early @ 2025-11-06 12:46 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 2+ messages in thread From: Heikki Linnakangas @ 2025-11-06 12:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add comment to explain why PGReserveSemaphores() is called early Before commit e25626677f, PGReserveSemaphores() had to be called before SpinlockSemaInit() because spinlocks were implemented using semaphores on some platforms (--disable-spinlocks). Add a comment explaining that. Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: https://www.postgresql.org/message-id/CAExHW5seSZpPx-znjidVZNzdagGHOk06F+Ds88MpPUbxd1kTaA@mail.gmail... Backpatch-to: 18 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/daf3d99d2b8bebb3361163a11ef3d232002127c9 Modified Files -------------- src/backend/storage/ipc/ipci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add comment to explain why PGReserveSemaphores() is called early @ 2025-11-06 12:46 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 2+ messages in thread From: Heikki Linnakangas @ 2025-11-06 12:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add comment to explain why PGReserveSemaphores() is called early Before commit e25626677f, PGReserveSemaphores() had to be called before SpinlockSemaInit() because spinlocks were implemented using semaphores on some platforms (--disable-spinlocks). Add a comment explaining that. Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: https://www.postgresql.org/message-id/CAExHW5seSZpPx-znjidVZNzdagGHOk06F+Ds88MpPUbxd1kTaA@mail.gmail... Backpatch-to: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/75ec47c38bcf8777164cf91885eb907eb3fc369b Modified Files -------------- src/backend/storage/ipc/ipci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-11-06 12:46 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-11-06 12:46 pgsql: Add comment to explain why PGReserveSemaphores() is called early Heikki Linnakangas <heikki.linnakangas@iki.fi> 2025-11-06 12:46 pgsql: Add comment to explain why PGReserveSemaphores() is called early Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox