kern: greatly improve codegen for atomics, scheduler
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user