Обсуждение: pgsql: Remove the option to service interrupts during PGSemaphoreLock()

Поиск
Список
Период
Сортировка

pgsql: Remove the option to service interrupts during PGSemaphoreLock()

От
Andres Freund
Дата:
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(-)