Pass Tid[string] to another thread (by send)

TencoDK via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 5 09:31:39 PDT 2016


On Friday, 5 August 2016 at 13:14:41 UTC, Kagamin wrote:
> Bug 6585 is not fixed. Variant wasn't written for shared and 
> immutable types. As a workaround wrap the array in a class.

Thanks! It worked.

Though it's strange that
>Variant wasn't written for shared and immutable types
because, for instance, in TDPL it has been used in multithreading 
context.



More information about the Digitalmars-d-learn mailing list