Fix failure in CreateCheckPoint on some Alpha boxes --- it's not OK to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Dec 2000 21:31:21 +0000 (21:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 29 Dec 2000 21:31:21 +0000 (21:31 +0000)
commit8ebaa94d79d917f6a4fc6cb2af93dcce658714bc
tree8b32db2b89b0d2c73ae81fd7fa34e1c0f283fd43
parenta3ac5a59f7e7bff0bb1845cb4e888829c1e00dea
Fix failure in CreateCheckPoint on some Alpha boxes --- it's not OK to
assume that TAS() will always succeed the first time, even if the lock
is known to be free.  Also, make sure that code will eventually time out
and report a stuck spinlock, rather than looping forever.  Small cleanups
in s_lock.h, too.
src/backend/access/transam/xlog.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/s_lock.c
src/include/storage/s_lock.h