structs, tids, and concurrency.
Nesting a Tid in a struct is interpreted as having local aliasing, though a bare Tid is not. This doesn't work, though commenting out "receiveOnly!S()" and "tid.send(S(thisTid))" works: - import std.stdio; import std.concurrency; void main() { auto thread = spawn(function void(Tid tid
Re: structs, tids, and concurrency.
On 03/30/2012 10:18 AM, Nathan M. Swan wrote: Nesting a Tid in a struct is interpreted as having local aliasing, though a bare Tid is not. http://d.puremagic.com/issues/show_bug.cgi?id=4957