std.concurrency: ownerTid vs thisTid

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 9 07:55:34 PST 2016


On 02/09/2016 07:52 AM, Daniel Kozak via Digitalmars-d-learn wrote:
> It is OK, I guess the output is just mixed

Yes, that's an important point but it is not the reason. (Just tested.)

I think this is just an issue with how Tid objects are printed. 
Otherwise, everything works as expected and although they print the same 
value, "worker1 != worker2" is true as well.

Ali



More information about the Digitalmars-d-learn mailing list