Re: better atomics - v0.5

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: better atomics - v0.5
Дата
Msg-id 20140713192023.GJ1136@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: better atomics - v0.5  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On 2014-07-10 08:46:55 +0530, Amit Kapila wrote:
> As per my understanding of the general theory around barriers,
> read and write are defined to avoid reordering due to compiler and
> full memory barriers are defined to avoid reordering due to
> processors.

No, that's not the case. There's several processors where write/read
barriers are an actual thing on the hardware level.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: better atomics - v0.5
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [JDBC] Setting PG-version without recompiling