pgsql/src/include/storage (s_lock.h)

Started by Tom Laneover 25 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Date: Friday, December 29, 2000 @ 21:34:56
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/storage
from hub.org:/home/projects/pgsql/tmp/cvs-serv36391

Modified Files:
s_lock.h

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

Clean up spinlock assembly code slightly (just cosmetic improvements)
for Alpha gcc case. For Alpha non-gcc case, replace use of
__INTERLOCKED_TESTBITSS_QUAD builtin with __LOCK_LONG_RETRY and
__UNLOCK_LONG. The former does not execute an MB instruction and
therefore was guaranteed not to work on multiprocessor machines.
The LOCK_LONG builtins produce code that is the same in all essential
details as the gcc assembler code.