[*] Linux: build regressions

This commit is contained in:
Reece Wilson 2023-09-15 00:10:40 +01:00
parent 0f88b16395
commit 81775a76bf
2 changed files with 1 additions and 3 deletions

View File

@ -142,8 +142,6 @@ namespace Aurora::Threading::Primitives
RUNTIME_ASSERT_SHUTDOWN_SAFE(bStatus, "semaphore wait failed: {}", ret) RUNTIME_ASSERT_SHUTDOWN_SAFE(bStatus, "semaphore wait failed: {}", ret)
} }
old = this->dwState_;
} }
AuAtomicSub<AuUInt32>(&this->dwSleeping_, 1u); AuAtomicSub<AuUInt32>(&this->dwSleeping_, 1u);

View File

@ -174,7 +174,7 @@ namespace Aurora::Threading::Threads
#if defined(AURORA_IS_POSIX_DERIVED) #if defined(AURORA_IS_POSIX_DERIVED)
if (this->terminated_) if (this->terminated_)
{ {
WaitFor(this->terminated_.get()); this->terminated_->Lock();
} }
#endif #endif
} }