The GC and performance, but not what you expect

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Thu May 29 13:01:16 PDT 2014


On Thursday, 29 May 2014 at 19:00:24 UTC, Walter Bright wrote:
>
> If it's single threaded, and the single thread is doing the 
> collecting, who is starting up a new thread?

class Foo {
      ~this() {
          auto t = new Thread({ auto a = new char[100]; });
          t.start();
      }
}


More information about the Digitalmars-d mailing list