Bug 18011 – core.sys.condition cannot be used as shared

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-11-25T09:21:07Z
Last change time
2020-04-25T07:41:03Z
Keywords
pull
Assigned to
ZombineDev
Creator
IM

Comments

Comment #0 by 3d.immortal — 2017-11-25T09:21:07Z
Non of core.sys.condition methods are marked as shared. Hence can't be used in shared objects. If the mutex used to construct Condition is shared, it's also impossible to construct Condition with it [ since no this(shared Mutex) ]. Please fix.
Comment #1 by dlang-bot — 2020-02-27T01:26:45Z
@tom-tan updated dlang/druntime pull request #2943 "Add shared methods to Condition" fixing this issue: - Fix Issue 18011 - core.sys.condition cannot be used as shared https://github.com/dlang/druntime/pull/2943
Comment #2 by dlang-bot — 2020-04-25T07:41:03Z
dlang/druntime pull request #2943 "Fix Issue 18011 - core.sys.condition cannot be used as shared" was merged into master: - 2a086ecdb53e4ec8b1716e5897838dd18aa2accf by Tomoya Tanjo: Fix Issue 18011 - core.sys.condition cannot be used as shared https://github.com/dlang/druntime/pull/2943