We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
atomicFetchAdd and atomicFetchSub are not supported. Adding support in ldc-developers/druntime#193
import std; import core.atomic; void main() { long x = 1; writeln(x.atomicFetchAdd(1)); writeln(x.atomicFetchSub(1)); writeln(x); }
Output:
/dlang/ldc-1.23.0/bin/../import/core/atomic.d(191): Error: undefined identifier atomicFetchAdd in module core.internal.atomic onlineapp.d(6): Error: template instance core.atomic.atomicFetchAdd!(cast(MemoryOrder)5, long) error instantiating /dlang/ldc-1.23.0/bin/../import/core/atomic.d(220): Error: undefined identifier atomicFetchSub in module core.internal.atomic onlineapp.d(7): Error: template instance core.atomic.atomicFetchSub!(cast(MemoryOrder)5, long) error instantiating
The text was updated successfully, but these errors were encountered:
Merged.
Sorry, something went wrong.
No branches or pull requests
atomicFetchAdd and atomicFetchSub are not supported.
Adding support in ldc-developers/druntime#193
Output:
The text was updated successfully, but these errors were encountered: