Declare LWLock pointers as volatile to prevent AIX compiler from

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

Commit: 584f818bef68450d23d1b75afbaf19febe38fd37
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-12-10T21:13:50Z
Releases: 7.2.1
Declare LWLock pointers as volatile to prevent AIX compiler from
reordering operations at its whim.  Releasing TAS lock before we've
finished updating proc structure is uncool.

Files

PathChange+/−
src/backend/storage/lmgr/lwlock.c modified +4 −4