diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-04 06:56:02 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-12-06 09:03:24 +0100 |
commit | 4756cb203e8ef09377988eb1b49ca20ef45f4492 (patch) | |
tree | 69aed28dbf048dea702665e68797f14c20650276 /src/core/hle/kernel/global_scheduler_context.h | |
parent | hle: kernel: Separate KScheduler from GlobalSchedulerContext class. (diff) | |
download | yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.tar yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.tar.gz yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.tar.bz2 yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.tar.lz yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.tar.xz yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.tar.zst yuzu-4756cb203e8ef09377988eb1b49ca20ef45f4492.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/global_scheduler_context.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/hle/kernel/global_scheduler_context.h b/src/core/hle/kernel/global_scheduler_context.h index 40fe44cc0..39c383746 100644 --- a/src/core/hle/kernel/global_scheduler_context.h +++ b/src/core/hle/kernel/global_scheduler_context.h @@ -55,15 +55,7 @@ public: private: friend class SchedulerLock; - - /// Lock the scheduler to the current thread. - void Lock(); - - /// Unlocks the scheduler, reselects threads, interrupts cores for rescheduling - /// and reschedules current core if needed. - void Unlock(); - - using LockType = KAbstractSchedulerLock<KScheduler>; + friend class KScopedSchedulerLockAndSleep; KernelCore& kernel; |