[*] Update for auROXTL changes

This commit is contained in:
Reece Wilson 2022-03-30 15:16:57 +01:00
parent 5ea5e0314f
commit 790d01a29a
4 changed files with 6 additions and 6 deletions

View File

@ -264,7 +264,7 @@ namespace Aurora::Logging
} }
{ {
AuTryDeleteList(gFlushableLoggers, this); AuTryRemove(gFlushableLoggers, this);
} }
} }

View File

@ -354,7 +354,7 @@ namespace Aurora::Registry
void FSRegistry::UnlockKey(const AuString &str) void FSRegistry::UnlockKey(const AuString &str)
{ {
AU_LOCK_GUARD(lock_->AsWritable()); AU_LOCK_GUARD(lock_->AsWritable());
AuTryDeleteList(restrictedKeys_, str); AuTryRemove(restrictedKeys_, str);
} }
bool FSRegistry::Save() bool FSRegistry::Save()

View File

@ -66,7 +66,7 @@ namespace Aurora::Threading::Threads
return nullptr; return nullptr;
} }
auto ok = AuTryInsertNoEnd(tls_, AuMakePair(key, AuMakePair(buf, TlsCb {}))); auto ok = AuTryInsert(tls_, key, AuMakePair(buf, TlsCb {}));
if (!ok) if (!ok)
{ {
AuMemory::Free(buf); AuMemory::Free(buf);
@ -103,7 +103,7 @@ namespace Aurora::Threading::Threads
} }
TlsCb deinitcb = deinit; TlsCb deinitcb = deinit;
auto ok = AuTryInsertNoEnd(tls_, AuMakePair(key, AuMakePair(buf, deinitcb))); auto ok = AuTryInsert(tls_, key, AuMakePair(buf, deinitcb));
if (!ok) if (!ok)
{ {
AuMemory::Free(buf); AuMemory::Free(buf);

View File

@ -61,9 +61,9 @@ namespace Aurora::Threading::Threads
{ {
AU_LOCK_GUARD(gMutex); AU_LOCK_GUARD(gMutex);
#if defined(AURORA_IS_POSIX_DERIVED) #if defined(AURORA_IS_POSIX_DERIVED)
AuTryDelete(gUnixHandlesToThreads, id.unixThreadId); AuTryRemove(gUnixHandlesToThreads, id.unixThreadId);
#endif #endif
AuTryDelete(gNativeHandlesToThreads, id.threadId); AuTryRemove(gNativeHandlesToThreads, id.threadId);
} }
struct OSFallbackThread : BasicThreadId struct OSFallbackThread : BasicThreadId