How to get the name for a Tid

Oleg B via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 27 01:17:01 PST 2017


On Wednesday, 23 November 2016 at 21:04:38 UTC, Christian Köstlin 
wrote:
> std.concurrency contains the register function to associate a 
> name with
> a Tid. This is stored internally in an associative array 
> namesByTid.
> I see no accessors for this. Is there a way to get to the 
> associated
> names of a Tid?
>
> Thanks,
> Christian

I have a same problem and I use workaround with manualy register 
threads and my own list of threads names. I think it's a little 
mistake and can be changed in dmd updates in the near future.


More information about the Digitalmars-d-learn mailing list