Clean up spinlock assembly code slightly (just cosmetic improvements)

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f83b2215987b474472c3115f91bff745bfa7de28
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-12-30T02:34:56Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/include/storage/s_lock.h modified +41 −35