What wrong?

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 15 04:45:28 PDT 2015


On Friday, 15 May 2015 at 09:20:32 UTC, Gary Willoughby wrote:
> On Friday, 15 May 2015 at 07:51:29 UTC, thedeemon wrote:
>> On Saturday, 2 May 2015 at 02:51:52 UTC, Fyodor Ustinov wrote:
>>> Simple code:
>>>
>>> http://pastebin.com/raw.php?i=7jVeMFXQ
>>>
>>> What I'm doing wrong?
>>
>> Try using class instead of struct.
>> Last time I played with std.concurrency it used Variants to 
>> store the messages, so when something bigger than a little 
>> basic value or a reference, like a class object, is sent it 
>> behaves unpredictably: can crash or shit garbage. Trying to 
>> send structs larger than ~20 bytes usually caused problems.
>
> Please raise a bugzilla issue for this.

this commit cause the issue:
https://github.com/D-Programming-Language/phobos/commit/45fda72192ff5b878ebe915db0ffb9f6504cca8f

but it is probably just a trigger not a real cause.


More information about the Digitalmars-d-learn mailing list