Shared

Dominikus Dittes Scherkl dominikus at scherkl.de
Thu May 16 15:47:37 UTC 2019


On Thursday, 16 May 2019 at 11:15:13 UTC, Jonathan M Davis wrote:
> [...] that is assuming that it's not possible to have any other 
> references to the same data, which would be too restrictive to 
> be useful. Having multiple references to the same data is a 
> core concept of sharing data across threads.
Hm. I don't understand the necessity of this. If I have a shared 
symbol x,
this same symbol can be used in different threads, no? I can't 
see why multiple threads need to have different references to the 
same data. They just can use the same reference.


More information about the Digitalmars-d mailing list