]> granicus.if.org Git - postgresql/commit
Remove the option to service interrupts during PGSemaphoreLock().
authorAndres Freund <andres@anarazel.de>
Tue, 3 Feb 2015 22:25:00 +0000 (23:25 +0100)
committerAndres Freund <andres@anarazel.de>
Tue, 3 Feb 2015 22:25:00 +0000 (23:25 +0100)
commitd06995710bc7e347d39866c1793ae282498d65e0
tree5d4de1a97f5518baba36e0b68864ac84e67ceef0
parent6753333f55e1d9bcb9da4323556b456583624a07
Remove the option to service interrupts during PGSemaphoreLock().

The remaining caller (lwlocks) doesn't need that facility, and we plan
to remove ImmedidateInterruptOK entirely. That means that interrupts
can't be serviced race-free and portably anyway, so there's little
reason for keeping the feature.

Reviewed-By: Heikki Linnakangas
src/backend/port/posix_sema.c
src/backend/port/sysv_sema.c
src/backend/port/win32_sema.c
src/backend/storage/lmgr/lwlock.c
src/include/storage/pg_sema.h