mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-02 09:28:33 -04: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