mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 13:37:57 -05:00
hle: kernel: process: Add state lock.
This commit is contained in:
@ -348,6 +348,10 @@ public:
|
||||
void PinCurrentThread();
|
||||
void UnpinCurrentThread();
|
||||
|
||||
KLightLock& GetStateLock() {
|
||||
return state_lock;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Thread-local storage management
|
||||
|
||||
@ -472,6 +476,8 @@ private:
|
||||
|
||||
KThread* exception_thread{};
|
||||
|
||||
KLightLock state_lock;
|
||||
|
||||
/// System context
|
||||
Core::System& system;
|
||||
};
|
||||
|
Reference in New Issue
Block a user