You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the upcoming introduction of regions, we will need to capture thread
names. This change adds a new static BuildThreadName() method that defines
a thread name by:
1. Determining if it is the entry thread and, if so, calling it "main",
per Trace2 convention.
2. If it's not the main thread, determining whether it is a thread pool
thread and naming it with a static prefix and the thread pool thread id.
3. If it is not the entry thread or a thread pool thread, use the thread
name, if it has one.
4. Return an empty string if none of the above are true.
0 commit comments