Bug 20106 – core.atomic : atomicFence doesn't accept MemoryOrder

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-08-04T21:55:23Z
Last change time
2019-08-31T10:37:51Z
Keywords
pull
Assigned to
No Owner
Creator
Manu

Comments

Comment #0 by turkeyman — 2019-08-04T21:55:23Z
Not sure why this function doesn't accept a MemoryOrder, but that's basically its job.
Comment #1 by turkeyman — 2019-08-20T06:41:42Z
Comment #2 by dlang-bot — 2019-08-20T07:25:18Z
@TurkeyMan updated dlang/druntime pull request #2745 "Renovate core.atomic, improve and simplify the constraints on functions" fixing this issue: - Add missing features to the API. Renovate core.atomic, improve and simplify the constraints on functions. Most functions are slightly more efficient. Concentrate more specific work into less surface area. Fixes issues 20107, 20106, 20105, 18643, 15007, 8831 https://github.com/dlang/druntime/pull/2745
Comment #3 by dlang-bot — 2019-08-31T10:37:51Z
dlang/druntime pull request #2745 "Renovate core.atomic, improve and simplify the constraints on functions" was merged into master: - 1bd60a77aca72d74e4c738fde4c8e5012f1fc5f1 by Manu Evans: Add order to atomicFence. Fixes issue 20106 https://github.com/dlang/druntime/pull/2745