Thread: pgsql/src/include/storage s_lock.h

pgsql/src/include/storage s_lock.h

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/12/10 21:58:49

Modified files:
    src/include/storage: s_lock.h

Log message:
    Make sure that inlined S_UNLOCK is marked as an update of a 'volatile'
    object.  This should prevent the compiler from reordering loads and stores
    into or out of a critical section.