D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21701 - casWeak is not implemented
Summary: casWeak is not implemented
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86_64 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2021-03-11 10:18 UTC by rm
Modified: 2021-04-18 14:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rm 2021-03-11 10:18:37 UTC
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 Dlang Bot 2021-03-11 10:22:19 UTC
@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 Dlang Bot 2021-03-18 03:10:12 UTC
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 Dlang Bot 2021-04-18 14:24:30 UTC
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