Add pg_atomic_unlocked_write_u64

Andres Freund <andres@anarazel.de>

Commit: 7902a47c20b1d5c0b7d20071f9ada6a0185bf39b
Author: Andres Freund <andres@anarazel.de>
Date: 2025-12-03T23:38:20Z
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

Files

PathChange+/−
src/include/port/atomics/generic.h modified +9 −0
src/include/port/atomics.h modified +10 −0

Discussion