Concurrency send immutable

SrMordred patric.dexheimer at gmail.com
Fri Nov 24 12:06:32 UTC 2017


On Friday, 24 November 2017 at 12:05:16 UTC, SrMordred wrote:
> immutable int[] arr = [1,2,3,4,5];
> auto t = spawn({ receive( (immutable int[] v) => writeln(v) 
> );});
> t.send(arr);
>
> whats the problem here?

Nothing prints out


More information about the Digitalmars-d-learn mailing list