[*] Same thread name identity in these constructors
This commit is contained in:
parent
7038787001
commit
9e7615d80c
@ -82,6 +82,11 @@ namespace Aurora::Threading::Threads
|
||||
{
|
||||
this->name_ = info.name.value_or("Aurora Thread");
|
||||
|
||||
if (info.name)
|
||||
{
|
||||
this->uNameIdentity_ = AuFnv1a32Runtime(this->name_.data(), this->name_.size());
|
||||
}
|
||||
|
||||
// maybe we should atomic exchange compare these when needed frogthink
|
||||
this->terminatedSignalLs_ = AuLoop::NewLSEvent(true, false, true);
|
||||
this->terminateSignalLs_ = AuLoop::NewLSEvent(true, false, true);
|
||||
@ -114,6 +119,7 @@ namespace Aurora::Threading::Threads
|
||||
this->name_ = "System Thread";
|
||||
this->handle_ = reinterpret_cast<decltype(handle_)>(id);
|
||||
this->bNotOwned = true;
|
||||
this->uNameIdentity_ = AuFnv1a32("System Thread");
|
||||
}
|
||||
|
||||
bool DeadTest();
|
||||
@ -830,6 +836,7 @@ namespace Aurora::Threading::Threads
|
||||
{
|
||||
this->bNotOwned = true;
|
||||
this->name_ = "Main System Thread";
|
||||
this->uNameIdentity_ = AuFnv1a32("Main System Thread");
|
||||
this->OSAttach();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user