mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 13:47:55 -05:00
Kernel: Implement Time Manager.
This commit is contained in:
committed by
FernandoS27
parent
179bafa7cb
commit
5c90d22f3d
@ -33,6 +33,7 @@ class ResourceLimit;
|
||||
class Scheduler;
|
||||
class Synchronization;
|
||||
class Thread;
|
||||
class TimeManager;
|
||||
|
||||
/// Represents a single instance of the kernel.
|
||||
class KernelCore {
|
||||
@ -107,6 +108,12 @@ public:
|
||||
/// Gets the an instance of the Synchronization Interface.
|
||||
const Kernel::Synchronization& Synchronization() const;
|
||||
|
||||
/// Gets the an instance of the TimeManager Interface.
|
||||
Kernel::TimeManager& TimeManager();
|
||||
|
||||
/// Gets the an instance of the TimeManager Interface.
|
||||
const Kernel::TimeManager& TimeManager() const;
|
||||
|
||||
/// Stops execution of 'id' core, in order to reschedule a new thread.
|
||||
void PrepareReschedule(std::size_t id);
|
||||
|
||||
|
Reference in New Issue
Block a user