"Kevin Grittner" <kevin.gritt...@wicourts.gov> writes: >> Dan Ports wrote: > .... The biggest, in my mind, is whether > MySerializableXact needs to be declared volatile. > The problem is that I don't have a very clear sense of what it really > does, which is not helped much by having done a few years of Java > programming, where the same keyword seems to have a vaguely-similar- > but-not-really-the-same meaning.
In C it means that the compiler must not try to optimize away loads or stores of the variable, because the variable is subject to being read or changed by outside forces (interrupt service routines, other processes or threads, etc). regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers