pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_atomic_unlocked_write_u64
Date: Wed, 03 Dec 2025 23:40:47 +0000
Message-ID: <E1vQwSk-002fZh-2h@gemulon.postgresql.org> (raw)

Add pg_atomic_unlocked_write_u64

The 64bit equivalent of pg_atomic_unlocked_write_u32(), to be used in an
upcoming patch converting BufferDesc.state into a 64bit atomic.

Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7902a47c20b1d5c0b7d20071f9ada6a0185bf39b

Modified Files
--------------
src/include/port/atomics.h         | 10 ++++++++++
src/include/port/atomics/generic.h |  9 +++++++++
2 files changed, 19 insertions(+)



view thread (8+ messages)  latest in thread

Message-ID: <E1vQwSk-002fZh-2h@gemulon.postgresql.org>
Permalink:  ../E1vQwSk-002fZh-2h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vQwSk-002fZh-2h@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add pg_atomic_unlocked_write_u64
  In-Reply-To: <E1vQwSk-002fZh-2h@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox