hle: kernel: process: Add state lock.

This commit is contained in:
bunnei 2021-01-24 22:54:37 -08:00
parent ff46ef7ea3
commit 3856564727
3 changed files with 15 additions and 6 deletions

View file

@ -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;
};