[*] bNoThreadNames option wasnt respected
This commit is contained in:
parent
86afd39dc3
commit
c889af13e5
@ -370,6 +370,10 @@ namespace Aurora::Threading::Threads
|
|||||||
|
|
||||||
void OSThread::SetName(const AuString &name)
|
void OSThread::SetName(const AuString &name)
|
||||||
{
|
{
|
||||||
|
if (gRuntimeConfig.threadingConfig.bNoThreadNames)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
this->name_ = name;
|
this->name_ = name;
|
||||||
this->UpdateName();
|
this->UpdateName();
|
||||||
}
|
}
|
||||||
@ -617,6 +621,11 @@ namespace Aurora::Threading::Threads
|
|||||||
|
|
||||||
void OSThread::UpdateName()
|
void OSThread::UpdateName()
|
||||||
{
|
{
|
||||||
|
if (gRuntimeConfig.threadingConfig.bNoThreadNames)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
||||||
|
|
||||||
if (this->handle_ == INVALID_HANDLE_VALUE)
|
if (this->handle_ == INVALID_HANDLE_VALUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user