Bug 21701 – casWeak is not implemented

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2021-03-11T10:18:37Z
Last change time
2021-04-18T14:24:30Z
Keywords
pull
Assigned to
No Owner
Creator
rm

Comments

Comment #0 by rdm — 2021-03-11T10:18:37Z
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