Re: SSI patch version 12

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SSI patch version 12
Дата
Msg-id 29513.1295327372@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SSI patch version 12  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_filedump moved to pgfoundry
Следующее
От: Jim Nasby
Дата:
Сообщение: Confusing comment in TransactionIdIsInProgress