digitalmars.D.learn - How to get the name for a Tid
- =?UTF-8?Q?Christian_K=c3=b6stlin?= (6/6) Nov 23 2016 std.concurrency contains the register function to associate a name with
- Oleg B (5/14) Feb 27 2017 I have a same problem and I use workaround with manualy register
- Jack Stouffer (5/14) Feb 27 2017 looks like there needs to be a Tid overload of
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
Nov 23 2016
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, ChristianI 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.
Feb 27 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, Christianlooks like there needs to be a Tid overload of std.concurrency.locate https://issues.dlang.org/show_bug.cgi?id=17231
Feb 27 2017