On Thursday, 10 November 2022 at 17:04:31 UTC, mw wrote:
Hi,

Anyone can help explain what is the difference between x.atomicOp!"+="(1) and atomicFetchAdd(x, 1)?

Looking at the source in druntime, `atomicOp!"+="` forwards to `atomicFetchAdd` internally, so they should have the same behavior.

Reply via email to