Sending immutable classes using std.concurrency

Dicebot public at dicebot.lv
Sat Mar 8 09:53:01 PST 2014


On Saturday, 8 March 2014 at 16:36:56 UTC, Martin wrote:
> Can someone tell me what's wrong with this code?
> http://dpaste.dzfl.pl/9ff4271f866c
>
> I'm trying to send an immutable instance of a class to another 
> thread using the send and receive functions in std.concurrency.
> I've already searched and found someone talking about 
> std.variant being bugged. Has this still not been fixed, or is 
> my code wrong?

I think this should be in next release:
https://d.puremagic.com/issues/show_bug.cgi?id=7069


More information about the Digitalmars-d-learn mailing list