On 11/14/12 1:06 PM, Walter Bright wrote:
On 11/14/2012 3:14 AM, Benjamin Thaut wrote:
A small code example which would break as soon as we allow destructing
of shared
value types would really be nice.

I hate to repeat myself, but:

Thread 1:
1. create shared object
2. pass reference to that object to Thread 2

That should be disallowed at least in safe code. If I had my way I'd explore disallowing in all code.

Andrei

Reply via email to