From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove the option to service interrupts during PGSemaphoreLock() |
Date: | 2015-02-03 22:28:20 |
Message-ID: | E1YIlxE-0007PS-2b@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2015-02-03 22:47:03 | Re: [COMMITTERS] pgsql: Process 'die' interrupts while reading/writing from the client s |
Previous Message | Andres Freund | 2015-02-03 22:24:46 | pgsql: Move deadlock and other interrupt handling in proc.c out of sign |