On 05/20/2014 11:38 AM, Charles Hixson via Digitalmars-d-learn wrote:
Is it a bug that an immutable struct cannot be sent to a thread? (It compiles without problem if I make all elements mutable.)
Does the struct have any mutable indirection? Then it is illegal. Otherwise, can you demonstrate with minimal code please?
Ali