]> granicus.if.org Git - postgresql/commit
Once again allow LWLocks to be used within DSM segments.
authorRobert Haas <rhaas@postgresql.org>
Mon, 15 Aug 2016 22:09:55 +0000 (18:09 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 15 Aug 2016 22:09:55 +0000 (18:09 -0400)
commitb25b6c9701e5c18e3ad3b701df62380f8d138ba0
tree36b2b548161aad15d859494b034d5a0b7dd36f02
parent2bf06f756142f4c398270cdc30bbba9b9dfbd38b
Once again allow LWLocks to be used within DSM segments.

Prior to commit 7882c3b0b95640e361f1533fe0f2d02e4e5d8610, it was
possible to use LWLocks within DSM segments, but that commit broke
this use case by switching from a doubly linked list to a circular
linked list.  Switch back, using a new bit of general infrastructure
for maintaining lists of PGPROCs.

Thomas Munro, reviewed by me.
src/backend/storage/lmgr/lwlock.c
src/include/storage/lwlock.h
src/include/storage/proc.h
src/include/storage/proclist.h [new file with mode: 0644]
src/include/storage/proclist_types.h [new file with mode: 0644]
src/tools/pgindent/typedefs.list