[
https://issues.apache.org/jira/browse/TS-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14396041#comment-14396041
]
Leif Hedstrom commented on TS-3494:
-----------------------------------
Hmmm, this isn't as easy at it seems, the struct is free'd after we setup the
thread. I'll consult with the mountain ([~amc] of course), I'm not sure why
this thread meta-data is not just a standard member of the Thread base class.
> Expose the "name" (e.g. [ET_NET 0]) in the Thread class
> -------------------------------------------------------
>
> Key: TS-3494
> URL: https://issues.apache.org/jira/browse/TS-3494
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: 6.0.0
>
>
> This would allow our code to e.g. produce Debug() and other info with details
> on what type of thread, and its # (to match up with e.g. top output). I think
> this is a trivial addition, e.g.
> const char* Thread::get_name() const { return name; };
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)