core.stdc.stdatomic

DrDread DrDread at cheese.com
Wed Nov 15 13:26:39 UTC 2023


On Wednesday, 15 November 2023 at 10:26:32 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> They rely quite heavily on the premise that atomic operations 
> happen immediately in the codegen and then based upon the 
> results do set actions in response. This is timing based it has 
> to be preciese or they will interfere with each other. You do 
> not have much lee-way before you start getting segfaults.

whoever write code like that deserves all the problems it creates.
This assumes specific CPU behaviour and may be completely broken 
on other systems.



More information about the Digitalmars-d mailing list