On Wednesday, 8 January 2025 at 12:10:19 UTC, Richard (Rikki) Andrew Cattermole wrote: > Not macros, what you want is intrinsics, this is how > core.atomics works for ldc/gdc. > > In this case ``atomicFence``. > > https://dlang.org/phobos/core_atomic.html#.atomicFence Unfortunately, support from all compilers to wait long. The library could be realized now.