On Saturday, 14 July 2012 at 09:21:27 UTC, David Nadlinger wrote:
On Saturday, 14 July 2012 at 09:15:55 UTC, Minas Mina wrote:
Isn't this the way shared is used (or should be used)?
Should be used: probably yes. But functions/methods which are
able to act on shared data must be marked so, and
unfortunately, the druntime primitives are not yet annotated
with shared, so you need to manually cast shared() away first
(or just use __gshared instead of shared).
David
Thank you, __gshared was actually what I was looking for!