Fixing core.atomic

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon May 31 21:08:37 UTC 2021


On Monday, 31 May 2021 at 21:01:35 UTC, Max Haughton wrote:
>> https://en.cppreference.com/w/cpp/atomic/atomic_is_lock_free
>>
>> C/C++ is trying to be hardware-independent to a much larger 
>> extent than D.
>
> "Atomic types are also allowed to be sometimes lock-free"

Yes, that is what the trait is for?

But with the limited hardware scope D has it surely can provide 
more convenient guarantees than C++ can?



More information about the Digitalmars-d mailing list