1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Allow direct access to ThreadNameData.

This commit is contained in:
Bartosz Taudul
2024-08-03 19:33:19 +02:00
parent 3658c0c90f
commit 5e224101c4
2 changed files with 26 additions and 7 deletions
+10
View File
@@ -14,6 +14,16 @@ TRACY_API uint32_t GetThreadHandleImpl();
}
#ifdef TRACY_ENABLE
struct ThreadNameData
{
uint32_t id;
uint32_t groupHint;
const char* name;
ThreadNameData* next;
};
ThreadNameData* GetThreadNameData( uint32_t id );
TRACY_API uint32_t GetThreadHandle();
#else
static inline uint32_t GetThreadHandle()