Filter:

Commits on December 28, 2001

Commits2 commits
0Author
2Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterImprove LOCK_DEBUG logging code for LWLocks.
19815273
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 28, 2001
CommitterEnsure that all direct uses of spinlock-protected data structures use 'volatile' pointers to access those structures, so that optimizing compilers will not decide to move the structure accesses outside of the spinlock-acquire-to-spinlock-release sequence. There are no known bugs in these uses at present, but based on bad experience with lwlock.c, it seems prudent to ensure that we protect these other uses too. Per pghackers discussion around 12-Dec. (Note: it should not be necessary to worry about structures protected by LWLocks, since the LWLock acquire and release operations are not inline macros.)
d3fc362e
master7.2beta5REL_19_STABLE7.2beta5REL_18_STABLE7.2beta5REL_17_STABLE7.2beta5REL_16_STABLE7.2beta5REL_15_STABLE7.2beta5REL_14_STABLE7.2beta5REL_13_STABLE7.2beta5+23 more
No linked threadDec 28, 2001