pgsql/src/include/storage s_lock.h

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

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.