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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Remove the option to service interrupts during PGSemaphoreLock()
Дата
Msg-id E1YIlxE-0007PS-2b@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Move deadlock and other interrupt handling in proc.c out of sign
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove remnants of ImmediateInterruptOK handling.