Re: pgsql: Do all accesses to shared buffer headers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Do all accesses to shared buffer headers
Дата
Msg-id 17415.1129176714@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Do all accesses to shared buffer headers  (Neil Conway <neilc@samurai.com>)
Ответы Re: pgsql: Do all accesses to shared buffer headers
Список pgsql-committers
Neil Conway <neilc@samurai.com> writes:
> On Wed, 2005-12-10 at 18:54 -0400, Tom Lane wrote:
>> We do however have here a New Coding Rule that's good for all parts
>> of the backend: if you are accessing a spinlock-protected data structure
>> then you should be using a volatile-qualified pointer for it.

> I think this is worth documenting more clearly

BTW, forgot to reply to this part, but: have at it.

            regards, tom lane

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

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Update trigger demo to reflect new trigger ordering.
Следующее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Add a comment describing the requirement that pointers into