casWeak is not implemented
import core.atomic;
void main()
{
int a;
casWeak!(MemoryOrder.acq_rel, MemoryOrder.raw)(&a, 0, 4);
}
/dlang/dmd/linux/bin64/../../src/druntime/import/core/atomic.d(430): Error: template instance atomicCompareExchangeWeakNoResult!(succ, fail) template atomicCompareExchangeWeakNoResult is not defined
onlineapp.d(5): Error: template instance core.atomic.casWeak!(MemoryOrder.acq_rel, MemoryOrder.raw, int, int, int) error instantiating
Comment #1 by dlang-bot — 2021-03-11T10:22:19Z
@rymrg created dlang/druntime pull request #3392 "Fix Issue 21701 - casWeak is not implemented" fixing this issue:
- Fix Issue 21701 - casWeak is not implemented
https://github.com/dlang/druntime/pull/3392
Comment #2 by dlang-bot — 2021-03-18T03:10:12Z
dlang/druntime pull request #3392 "Fix Issue 21701 - casWeak is not implemented" was merged into stable:
- 76ad5cc2204b38644f08c2c17034ca378f25c45c by rymrg:
Fix Issue 21701 - casWeak is not implemented
https://github.com/dlang/druntime/pull/3392
Comment #3 by dlang-bot — 2021-04-18T14:24:30Z
dlang/druntime pull request #3434 "merge stable" was merged into master:
- a43aa23cda759481905664b83f71ea322dccb25a by rymrg:
Fix Issue 21701 - casWeak is not implemented
https://github.com/dlang/druntime/pull/3434