Status of 64 bit atomics

Поиск
Список
Период
Сортировка
От John Gorman
Тема Status of 64 bit atomics
Дата
Msg-id CALkS6B8N6uf7PNPjv6bKTaPhh4qVoRg46bSNr0Hhy2BGnBwYNQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Status of 64 bit atomics
Re: Status of 64 bit atomics
Список pgsql-hackers
Hi All

Someone recently told me that the postgresql atomics library was incomplete
for 64 bit operations such as pg_atomic_fetch_add_u64() and should not be used.

Can someone definitively confirm whether it is okay to rely on the 64 bit atomics
or whether it is better to protect 64 bit operations with a spinlock?

Thanks!
John

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