[*] 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)
|
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()
|
||||||
|
@ -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);
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user