InterlockedIncrement, InterlockedCompareExchange, etc

Illuminati via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 28 12:53:51 PDT 2016


What are the D equivalents to these types of functions?

I do not see anything in core.atomic that can accomplish this. I 
have tried to include core.sys.windows.winbase but still get 
linker errors(I've also directly tried importing kernel32 using 
various methods and still nothing). Regardless, would be nicer to 
have a more portable solution.




More information about the Digitalmars-d-learn mailing list