pgsql: Remove the option to service interrupts during PGSemaphoreLock() - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Remove the option to service interrupts during PGSemaphoreLock()
Date
Msg-id E1YIlxE-0007PS-2b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d06995710bc7e347d39866c1793ae282498d65e0

Modified Files
--------------
src/backend/port/posix_sema.c     |   12 ++---------
src/backend/port/sysv_sema.c      |   43 ++++---------------------------------
src/backend/port/win32_sema.c     |    6 +-----
src/backend/storage/lmgr/lwlock.c |   12 ++++-------
src/include/storage/pg_sema.h     |    2 +-
5 files changed, 12 insertions(+), 63 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Move deadlock and other interrupt handling in proc.c out of sign
Next
From: Andres Freund
Date:
Subject: pgsql: Remove remnants of ImmediateInterruptOK handling.