Immutable
harakim via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jun 23 07:29:41 PDT 2017
On Friday, 23 June 2017 at 14:25:48 UTC, harakim wrote:
> I am building a system where one thread generates commands and
> sends them to another thread. The commands will never change
> once they are created. I have marked the values immutable, but
> I've been struggling to understand the requirements for sharing
> a variable across threads.
>
> [...]
heh. I've been working on this for an hour or so. Right after I
posted, I tried casting it, which worked. Thank you for your time.
More information about the Digitalmars-d-learn
mailing list