Core: Add missing GetCurrentThreadName on POSIX
This commit is contained in:
parent
bf0d7674c7
commit
4c21821802
|
|
@ -15,6 +15,11 @@ namespace Nz::PlatformImpl
|
|||
return ::pthread_self();
|
||||
}
|
||||
|
||||
std::string GetCurrentThreadName()
|
||||
{
|
||||
return GetThreadName(::pthread_self());
|
||||
}
|
||||
|
||||
std::string GetThreadName(pthread_t threadHandle)
|
||||
{
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
|
|
|
|||
Loading…
Reference in New Issue