[dmd-concurrency] tail-shared by default?
Steve Schveighoffer
schveiguy at yahoo.com
Fri Jan 8 21:06:06 PST 2010
----- Original Message ----
> From: Walter Bright <walter at digitalmars.com>
>
> Tail-shared doesn't work as soon as classes come into the picture (or
> any reference types).
class C
{}
void foo()
{
shared C c = new shared(C);
}
In my scheme, c is tail-shared. All reference types, including pointers and class references, are tail-shared (note the subject line). The only exception is shared global data.
-Steve
More information about the dmd-concurrency
mailing list