Shared - Another Thread
Stanislav Blinov
stanislav.blinov at gmail.com
Thu Oct 18 20:13:49 UTC 2018
On Thursday, 18 October 2018 at 20:10:18 UTC, Erik van Velzen
wrote:
> When shared stood up in its current form, expectation was made
> "this will be threadsafe automatically - we'll figure out how
> in the future".
It never was like that. At all. I don't think either Walter or
Andrei are idiots, do you?
> Because it works for global variables. But it doesn't seem like
> an expectation we can deliver on.
>
> (I have no direct reference to this but that was certainly my
> impression)
Your impression was wrong. Open e.g. TDPL and read up on `shared`
how it was envisioned back then.
More information about the Digitalmars-d
mailing list