mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 14:17:56 -05:00
Kernel: Refactor synchronization to better match RE
This commit is contained in:
committed by
FernandoS27
parent
c5aefe42aa
commit
d23d504d77
@ -29,6 +29,7 @@ class HandleTable;
|
||||
class PhysicalCore;
|
||||
class Process;
|
||||
class ResourceLimit;
|
||||
class Synchronization;
|
||||
class Thread;
|
||||
|
||||
/// Represents a single instance of the kernel.
|
||||
@ -92,6 +93,12 @@ public:
|
||||
/// Gets the an instance of the respective physical CPU core.
|
||||
const Kernel::PhysicalCore& PhysicalCore(std::size_t id) const;
|
||||
|
||||
/// Gets the an instance of the Synchronization Interface.
|
||||
Kernel::Synchronization& Synchronization();
|
||||
|
||||
/// Gets the an instance of the Synchronization Interface.
|
||||
const Kernel::Synchronization& Synchronization() 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