Concurrency send immutable
SrMordred
patric.dexheimer at gmail.com
Fri Nov 24 12:05:16 UTC 2017
immutable int[] arr = [1,2,3,4,5];
auto t = spawn({ receive( (immutable int[] v) => writeln(v) );});
t.send(arr);
whats the problem here?
More information about the Digitalmars-d-learn
mailing list