www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17234] New: access to registered thread names

https://issues.dlang.org/show_bug.cgi?id=17234

          Issue ID: 17234
           Summary: access to registered thread names
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: code.viator gmail.com

std.concurrency have `register` function for associate tid with some name and
tid can be obtained by this name, but no accessors for get all associate names
by tid. This information stored in private __gshared variable `namesByTid` and
can be provided by function `string[] registredNames(Tid tid)` for example.

--
Feb 28