util: better match true std::atomic semantics
This commit is contained in:
1 parent
c6d7174dd3
commit
aed9d3f535
12 files changed
+102
-53
No files matched your search
@@ -22,7 +22,7 @@ namespace ams::secmon {
|
||||
|
||||
constexpr inline uintptr_t PMC = MemoryRegionVirtualDevicePmc.GetAddress();
|
||||
|
||||
constinit util::Atomic<bool> g_is_locked{false};
|
||||
constinit util::Atomic<bool> g_is_locked = false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace ams::secmon::smc {
|
||||
|
||||
namespace {
|
||||
|
||||
constinit util::Atomic<bool> g_is_locked{false};
|
||||
constinit util::Atomic<bool> g_is_locked = false;
|
||||
|
||||
ALWAYS_INLINE bool TryLockSecurityEngineImpl() {
|
||||
bool value = false;
|
||||
|
||||
Reference in new issue
Block a user