Re: unconstify equivalent for volatile
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-02-19T16:48:16Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > The real reason why variables commonly need to be volatile when used in > signal handlers is not the signal handler side, but the normal code flow > side. Yeah, exactly. You have not explained why it'd be safe to ignore that. regards, tom lane
Commits
-
Add macro to cast away volatile without allowing changes to underlying type
- 481018f28040 12.0 landed
-
Initialize structure at declaration
- 572e3e6634e5 12.0 landed