hle: kernel: process: Add state lock.
This commit is contained in:
parent
ff46ef7ea3
commit
3856564727
3 changed files with 15 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue