Improve documentation for pg_atomic_unlocked_write_u32()

Andres Freund <andres@anarazel.de>

Commit: aa749bde323364039f369784071f315ad53c1325
Author: Andres Freund <andres@anarazel.de>
Date: 2025-12-09T04:11:19Z
Improve documentation for pg_atomic_unlocked_write_u32()

After my recent commit 7902a47c20b, Nathan noticed that
pg_atomic_unlocked_write_u64() was not accurately described by the comments
for the 32bit version. Turns out the 32bit version has suffered from
copy-and-paste-itis since its introduction. Fix.

Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/aTGt7q4Jvn97uGAx@nathan

Files

PathChange+/−
src/include/port/atomics.h modified +7 −5

Discussion