Make sure that inlined S_UNLOCK is marked as an update of a 'volatile'

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

Commit: 4433eb1dff36707914081efeaff222f81412d60f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-12-11T02:58:49Z
Releases: 7.2.1
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.

Files

PathChange+/−
src/include/storage/s_lock.h modified +8 −3