Thread: pgsql: Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweig
Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweight locks Part of a series to remove SHM_QUEUE. ilist.h style lists are more widely used and have an easier to use interface. As PROC_QUEUE is now unused, remove it. Reviewed-by: Thomas Munro <thomas.munro@gmail.com> (in an older version) Discussion: https://postgr.es/m/20221120055930.t6kl3tyivzhlrzu2@awork3.anarazel.de Discussion: https://postgr.es/m/20200211042229.msv23badgqljrdg2@alap3.anarazel.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5764f611e10b126e09e37fdffbe884c44643a6ce Modified Files -------------- src/backend/access/transam/twophase.c | 4 +- src/backend/storage/lmgr/deadlock.c | 87 +++++------- src/backend/storage/lmgr/lock.c | 155 ++++++++-------------- src/backend/storage/lmgr/proc.c | 243 +++++++++++----------------------- src/include/storage/lock.h | 15 +-- src/include/storage/proc.h | 17 ++- src/tools/pgindent/typedefs.list | 1 - 7 files changed, 183 insertions(+), 339 deletions(-)