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.