Something needs to happen with shared, and soon.

Walter Bright newshound2 at digitalmars.com
Sun Nov 11 22:50:55 PST 2012


On 11/11/2012 10:05 PM, Benjamin Thaut wrote:
> The only problem beeing that you can not really have user defined shared (value)
> types:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=8295

If you include an object designed to work only in a single thread (non-shared), 
make it shared, and then destruct it when other threads may be pointing to it ...

What should happen?



More information about the Digitalmars-d mailing list