mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Thread ids are no longer pthread_t.
This commit is contained in:
parent
4ef2ce4622
commit
4eaa3d90dd
@ -144,11 +144,6 @@ const char* GetThreadName( uint64_t id )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
# elif defined __GLIBC__ && !defined __ANDROID__ && !defined __EMSCRIPTEN__ && !defined __CYGWIN__
|
|
||||||
if( pthread_getname_np( (pthread_t)id, buf, 256 ) == 0 )
|
|
||||||
{
|
|
||||||
return buf;
|
|
||||||
}
|
|
||||||
# elif defined __linux__
|
# elif defined __linux__
|
||||||
int cs, fd;
|
int cs, fd;
|
||||||
char path[32];
|
char path[32];
|
||||||
|
Loading…
Reference in New Issue
Block a user