git.postgresql.org Git - postgresql.git/commit
2014年12月25日 16:24:30 +0000 (17:24 +0100)
2014年12月25日 16:24:30 +0000 (17:24 +0100)
commit 7882c3b0b95640e361f1533fe0f2d02e4e5d8610
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.
This is the main PostgreSQL git repository.
RSS
Atom