|
|
@ -19,7 +19,7 @@ class KernelCore;
|
|
|
|
template <typename SchedulerType>
|
|
|
|
template <typename SchedulerType>
|
|
|
|
class KAbstractSchedulerLock {
|
|
|
|
class KAbstractSchedulerLock {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
explicit KAbstractSchedulerLock(KernelCore& kernel) : kernel{kernel} {}
|
|
|
|
explicit KAbstractSchedulerLock(KernelCore& kernel_) : kernel{kernel_} {}
|
|
|
|
|
|
|
|
|
|
|
|
bool IsLockedByCurrentThread() const {
|
|
|
|
bool IsLockedByCurrentThread() const {
|
|
|
|
return this->owner_thread == kernel.GetCurrentEmuThreadID();
|
|
|
|
return this->owner_thread == kernel.GetCurrentEmuThreadID();
|
|
|
|