Atomic bit operations

Adam D. Ruppe destructionator at gmail.com
Tue Dec 11 01:37:25 UTC 2018


On Monday, 10 December 2018 at 23:20:22 UTC, Crayo List wrote:
> Are there atomic equivalents of bt(), btc(), bts(), btr() ... 
> etc from core.bitop?

Those are intrinsics that compile into a single cpu instruction, 
so they are probably already atomic...


More information about the Digitalmars-d-learn mailing list