Shared

dsimcha dsimcha at yahoo.com
Sun Aug 1 09:46:58 PDT 2010


== Quote from dsimcha (dsimcha at yahoo.com)'s article
> I've reread the relevant TDPL chapter and I still don't quite understand the
> following:
> 1.  What is shared?  Is it simply a piece of syntactic salt to make it hard to
> share data across threads by accident, or is there more to it?
> 2.  Is it fully or mostly implemented?

Sorry, accidentally submitted the post before I was done.

3.  How does casting to and from shared work?  Under what circumstances can
unshared data be cast to shared?  Under what circumstances can shared data
implicitly be cast to unshared?


More information about the Digitalmars-d mailing list