[Issue 16335] New: Thread constructor accepts a delegate with nonshared context

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 29 07:10:39 PDT 2016


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

          Issue ID: 16335
           Summary: Thread constructor accepts a delegate with nonshared
                    context
           Product: D
           Version: D2
          Hardware: All
               URL: https://dlang.org/phobos/core_thread.html#.Thread.this
                    .2
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: dfj1esp02 at 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

--


More information about the Digitalmars-d-bugs mailing list