Shouldn't spawn work with __gshared?

Steven Schveighoffer schveiguy at yahoo.com
Thu Apr 21 09:21:57 PDT 2011


On Thu, 21 Apr 2011 11:18:01 -0400, Andrej Mitrovic  
<andrej.mitrovich at gmail.com> wrote:

> Oh I thought __gshared was in the type system. Yeah I'll try the
> Thread class, thanks.

__gshared puts the variable in global storage, just like D1 global  
variables.  It does not mark the type at all.

-Steve


More information about the Digitalmars-d-learn mailing list