[*] Update for auROXTL changes
This commit is contained in:
parent
5ea5e0314f
commit
790d01a29a
@ -264,7 +264,7 @@ namespace Aurora::Logging
|
||||
}
|
||||
|
||||
{
|
||||
AuTryDeleteList(gFlushableLoggers, this);
|
||||
AuTryRemove(gFlushableLoggers, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -354,7 +354,7 @@ namespace Aurora::Registry
|
||||
void FSRegistry::UnlockKey(const AuString &str)
|
||||
{
|
||||
AU_LOCK_GUARD(lock_->AsWritable());
|
||||
AuTryDeleteList(restrictedKeys_, str);
|
||||
AuTryRemove(restrictedKeys_, str);
|
||||
}
|
||||
|
||||
bool FSRegistry::Save()
|
||||
|
@ -66,7 +66,7 @@ namespace Aurora::Threading::Threads
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto ok = AuTryInsertNoEnd(tls_, AuMakePair(key, AuMakePair(buf, TlsCb {})));
|
||||
auto ok = AuTryInsert(tls_, key, AuMakePair(buf, TlsCb {}));
|
||||
if (!ok)
|
||||
{
|
||||
AuMemory::Free(buf);
|
||||
@ -103,7 +103,7 @@ namespace Aurora::Threading::Threads
|
||||
}
|
||||
|
||||
TlsCb deinitcb = deinit;
|
||||
auto ok = AuTryInsertNoEnd(tls_, AuMakePair(key, AuMakePair(buf, deinitcb)));
|
||||
auto ok = AuTryInsert(tls_, key, AuMakePair(buf, deinitcb));
|
||||
if (!ok)
|
||||
{
|
||||
AuMemory::Free(buf);
|
||||
|
@ -61,9 +61,9 @@ namespace Aurora::Threading::Threads
|
||||
{
|
||||
AU_LOCK_GUARD(gMutex);
|
||||
#if defined(AURORA_IS_POSIX_DERIVED)
|
||||
AuTryDelete(gUnixHandlesToThreads, id.unixThreadId);
|
||||
AuTryRemove(gUnixHandlesToThreads, id.unixThreadId);
|
||||
#endif
|
||||
AuTryDelete(gNativeHandlesToThreads, id.threadId);
|
||||
AuTryRemove(gNativeHandlesToThreads, id.threadId);
|
||||
}
|
||||
|
||||
struct OSFallbackThread : BasicThreadId
|
||||
|
Loading…
Reference in New Issue
Block a user