]> granicus.if.org Git - postgresql/commit
Update obsolete comments in lwlock.h.
authorRobert Haas <rhaas@postgresql.org>
Wed, 4 Jan 2017 17:03:40 +0000 (12:03 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 4 Jan 2017 17:03:40 +0000 (12:03 -0500)
commit0fad355beca9f73687c0b27647ea570ce10c7ae3
tree0c269604487155114f6b44f1fc3094f6b9e6b27e
parent0813216cb416bf9173ddc7ff3cf495755d943743
Update obsolete comments in lwlock.h.

The typical size of an LWLock is now 16 bytes even on 64-bit platforms,
and the size of slock_t is now irrelevant.  But pg_atomic_uint32 can
(perhaps surprisingly) still be larger than 4 bytes, so there's still
some marginal point to allowing LWLOCK_MINIMAL_SIZE == 64.

Commit 008608b9d51061b1f598c197477b3dc7be9c4a64 made the changes
that led to the need for these updates.
src/include/storage/lwlock.h