postgresql/src/include/replication
Andres Freund ff44fba46c Replace walsender's latch with the general shared latch.
Relying on the normal shared latch simplifies interrupt/signal
handling because we can rely on all signal handlers setting the proc
latch. That in turn allows us to avoid the use of
ImmediateInterruptOK, which arguably isn't correct because
WaitLatchOrSocket isn't declared to be immediately interruptible.

Also change sections that wait on the walsender's latch to notice
interrupts quicker/more reliably and make them more consistent with
each other.

This is part of a larger "get rid of ImmediateInterruptOK" series.

Discussion: 20150115020335.GZ5245@awork2.anarazel.de
2015-01-17 13:00:42 +01:00
..
basebackup.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
decode.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
logical.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
logicalfuncs.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
output_plugin.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
reorderbuffer.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
slot.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
snapbuild.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
syncrep.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
walreceiver.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
walsender.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
walsender_private.h Replace walsender's latch with the general shared latch. 2015-01-17 13:00:42 +01:00