www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18011] New: core.sys.condition cannot be used as shared

https://issues.dlang.org/show_bug.cgi?id=18011

          Issue ID: 18011
           Summary: core.sys.condition cannot be used as shared
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: 3d.immortal gmail.com

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.

--
Nov 25