DIP60: @nogc attribute

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 16 14:49:48 PDT 2014


On 04/16/2014 10:10 PM, Peter Alexander wrote:
>
> However, that raises a second question: since err is allocated when a
> new thread is created, does that mean @nogc functions cannot create
> threads in the presence of such static initialisation?

This does not allocate on the GC heap.


More information about the Digitalmars-d mailing list