aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-12-25 17:24:30 +0100
committerAndres Freund <andres@anarazel.de>2014-12-25 17:24:30 +0100
commit7882c3b0b95640e361f1533fe0f2d02e4e5d8610 (patch)
tree6136d4cb37fbff3f9fcbc4ca8e1b8e25c12f467c /src/backend/access/gist/gistproc.c
parent570bd2b3fd20d3f8896f5e6a8133d6aed385ac86 (diff)
downloadpostgresql-7882c3b0b95640e361f1533fe0f2d02e4e5d8610.tar.gz
postgresql-7882c3b0b95640e361f1533fe0f2d02e4e5d8610.zip
Convert the PGPROC->lwWaitLink list into a dlist instead of open coding it.
Besides being shorter and much easier to read it changes the logic in LWLockRelease() to release all shared lockers when waking up any. This can yield some significant performance improvements - and the fairness isn't really much worse than before, as we always allowed new shared lockers to jump the queue.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions