Improve documentation for pg_atomic_unlocked_write_u32()
Andres Freund <andres@anarazel.de>
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
| Path | Change | +/− |
|---|---|---|
| src/include/port/atomics.h | modified | +7 −5 |
Discussion
- pgsql: Add pg_atomic_unlocked_write_u64 8 messages · 2025-12-03 → 2025-12-09