Concurrency.

Debdatta debdatta.basu91 at gmail.com
Mon Nov 28 02:28:34 PST 2011


Let me get this straight. Instances are shared... and marking a class shared marks all its members shared? If what you said were true, it would be
trivial to instantiate a class as both shared and unshared. Without any duplication.

class A
{
///
}

shared A sharedA = new A;
A unsharedA = new A;

I don't can you elaborate your last post?

Thanks.
Debdatta



More information about the Digitalmars-d mailing list