postgresql/src/backend/storage
Andres Freund 1145acc70d Add a barrier primitive for synchronizing backends.
Provide support for dynamic or static parties of processes to wait for
all processes to reach point in the code before continuing.

This is similar to the mechanism of the same name in POSIX threads and
MPI, though has explicit phasing and dynamic party support like the
Java core library's Phaser.

This will be used by an upcoming patch adding support for parallel
hash joins.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/CAEepm=2_y7oi01OjA_wLvYcWMc9_d=LaoxrY3eiROCZkB_qakA@mail.gmail.com
2017-11-29 17:07:16 -08:00
..
buffer Fix two violations of the ResourceOwnerEnlarge/Remember protocol. 2017-11-08 16:50:12 -05:00
file Update buffile.h/.c comments for removal of non-temp option. 2017-11-25 13:19:43 -05:00
freespace Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
ipc Add a barrier primitive for synchronizing backends. 2017-11-29 17:07:16 -08:00
large_object Refactor permissions checks for large objects. 2017-11-09 12:56:07 -05:00
lmgr Use out-of-line M68K spinlock code for OpenBSD as well as NetBSD. 2017-11-20 18:05:17 -05:00
page Avoid looping through line pointers twice in PageRepairFragmentation(). 2017-11-03 17:21:59 -04:00
smgr Update typedefs.list and re-run pgindent 2017-11-29 09:24:24 -05:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00