[Issue 17234] New: access to registered thread names

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Feb 28 02:52:26 PST 2017


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 at puremagic.com
          Reporter: code.viator at 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.

--


More information about the Digitalmars-d-bugs mailing list