On Tuesday, 4 March 2014 at 06:31:24 UTC, Timothee Cour wrote: > that gives tid of spawned thread, not 'self'. The link you mentioned says it is stored in the special variable thisTid.