Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweight locks
commit5764f611e10b126e09e37fdffbe884c44643a6ce
authorAndres Freund <andres@anarazel.de>
Wed, 18 Jan 2023 19:41:14 +0000 (18 11:41 -0800)
committerAndres Freund <andres@anarazel.de>
Wed, 18 Jan 2023 19:41:14 +0000 (18 11:41 -0800)
tree1ffde039ae46b09ba10c0f60717c43ca1a0ee4b1
parent51384cc40c4a72c81d2475089ab8a1cf98ea56ff
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
src/backend/access/transam/twophase.c
src/backend/storage/lmgr/deadlock.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c
src/include/storage/lock.h
src/include/storage/proc.h
src/tools/pgindent/typedefs.list