https://gitlab.synchro.net/main/sbbs/-/commit/e9e8d92cee7a637af4a051c7
Modified Files:
src/syncterm/wren_bind_xfer.c
Log Message:
wren_bind_xfer: use plain access on _Atomic vars where it suffices
For _Atomic-qualified lvalues, plain reads and assignments emit
seq_cst atomic loads/stores Ä identical to atomic_load / atomic_store
with default memory order. The function forms only earn their keep
for atomic_exchange and atomic_compare_exchange_strong (no implicit equivalent), which stay.
Also sidesteps an MSVC clang-cl issue where atomic_load(&x) used
inline as a function argument expanded such that the address operator
got lost, leaving the underlying type where a pointer-to-atomic was
expected.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net