kern: greatly improve codegen for atomics, scheduler

This commit is contained in:
Michael Scire committed 2021-01-08 02:13:43 -08:00
1 parent f051f707ed
commit 4aa18b06e8
19 files changed
+67 -46

No files matched your search

@@ -85,7 +85,7 @@ namespace ams::kern {
virtual KProcess *GetOwner() const { return nullptr; }
u32 GetReferenceCount() const {
return m_ref_count;
return m_ref_count.load();
}
ALWAYS_INLINE bool IsDerivedFrom(const TypeObj &rhs) const {