• Tom Lane's avatar
    Clean up spinlock assembly code slightly (just cosmetic improvements) · f83b2215
    Tom Lane authored
    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.
    f83b2215
s_lock.h 12.5 KB