core.stdc.stdatomic
    Walter Bright 
    newshound2 at digitalmars.com
       
    Wed Nov 15 09:33:52 UTC 2023
    
    
  
On 11/14/2023 10:59 PM, Richard (Rikki) Andrew Cattermole wrote:
> On 15/11/2023 7:33 PM, Walter Bright wrote:
>> I do not understand why a function that consists of a FENCE instruction will 
>> be a failure compared to a FENCE instruction inlined.
> 
> Yes, ideally a memory barrier wouldn't matter for how it is executed.
> 
> But it does matter for load/cas. Because what was true when the operation 
> executed may not be true any longer by the time the next operation is performed 
> with deep calls in use.
Is this only a problem with load/cas?
    
    
More information about the Digitalmars-d
mailing list