std.concurrency doesn't like structs, classes?

Ali Çehreli acehreli at yahoo.com
Thu May 23 11:38:04 PDT 2013


On 05/23/2013 11:16 AM, "Luís Marques" <luismarques at gmail.com>" wrote:
> On Thursday, 23 May 2013 at 18:09:34 UTC, Ali Çehreli wrote:
>> Could be this bug:
>>
>>   http://d.puremagic.com/issues/show_bug.cgi?id=5538
>
> Thanks.
>
> I guess it's that bug. But the bug is two years old, I'm not very
> hopeful to see a fix soon :(

As a workaround, try immutable(S*) (S is a struct). You must manage the 
lifetime of the object of course.

Ali


More information about the Digitalmars-d mailing list