Atomics in localbuf.c

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Atomics in localbuf.c
Date: 2020-03-05 17:21:55
Message-ID: 17129.1583428915@antos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

What's the reason to use pg_atomic...read_...() and pg_atomic...write_...()
functions in localbuf.c?

It looks like there was an intention not to use them

https://www.postgresql.org/message-id/CAPpHfdtfr3Aj7xJonXaKR8iY2p8uXOQ%2Be4BMpMDAM_5R4OcaDA%40mail.gmail.com

but the following discussion does not explain the decision to use them.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-03-05 17:27:49 Re: Berserk Autovacuum (let's save next Mandrill)
Previous Message Vik Fearing 2020-03-05 17:19:59 Re: Retiring support for pre-7.3 FK constraint triggers