shared - i need it to be useful

Timon Gehr timon.gehr at gmx.ch
Wed Oct 17 14:26:43 UTC 2018


On 17.10.2018 16:14, Nicholas Wilson wrote:
> 
> I was thinking that mutable -> shared const as apposed to mutable -> 
> shared would get around the issues that Timon posted.

Unfortunately not. For example, the thread with the mutable reference is 
not obliged to actually make the changes that are performed on that 
reference visible to other threads.


More information about the Digitalmars-d mailing list