pgsql/src/backend/storage/buffer (s_lock.c bufmgr.c)

Started by Tom Lanealmost 26 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@postgresql.org

Date: Friday, December 29, 2000 @ 16:31:21
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/storage/buffer
from hub.org:/home/projects/pgsql/tmp/cvs-serv81512/backend/storage/buffer

Modified Files:
s_lock.c bufmgr.c

----------------------------- Log Message -----------------------------

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.