Make sure that inlined S_UNLOCK is marked as an update of a 'volatile'
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/include/storage/s_lock.h | modified | +8 −3 |