pgsql-server: Improve spinlock selftest to make it able to detect - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Improve spinlock selftest to make it able to detect
Date
Msg-id 20040830234720.6FAE85E46C2@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Improve spinlock selftest to make it able to detect misdeclaration of
the slock_t datatype (ie, declared type smaller than what the hardware
TAS instruction needs).

Modified Files:
--------------
    pgsql-server/src/backend/storage/lmgr:
        s_lock.c (r1.31 -> r1.32)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/storage/lmgr/s_lock.c.diff?r1=1.31&r2=1.32)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server: slock_t must be int not char for MIPS.
Next
From: pgsql@svr1.postgresql.org (PostgreSQL Daemon)
Date:
Subject: pgsql-server: tag configure beta2