www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16335] New: Thread constructor accepts a delegate with


          Issue ID: 16335
           Summary: Thread constructor accepts a delegate with nonshared
           Product: D
           Version: D2
          Hardware: All
               URL: https://dlang.org/phobos/core_thread.html#.Thread.this
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: dfj1esp02 sneakemail.com

This allows implicit data sharing. Also looks like Semaphore tests rely on this
behavior: https://forum.dlang.org/post/aswqyosonizpnpysnnwx forum.dlang.org

Jul 29 2016