core: hle: kernel: Instantiate a kernel instance of KWorkerTaskManager.
This commit is contained in:
parent
b722faaf7a
commit
b6bf119a43
2 changed files with 18 additions and 0 deletions
|
@ -52,6 +52,7 @@ class KSharedMemory;
|
|||
class KSharedMemoryInfo;
|
||||
class KThread;
|
||||
class KTransferMemory;
|
||||
class KWorkerTaskManager;
|
||||
class KWritableEvent;
|
||||
class KCodeMemory;
|
||||
class PhysicalCore;
|
||||
|
@ -343,6 +344,12 @@ public:
|
|||
/// Gets the current slab resource counts.
|
||||
const Init::KSlabResourceCounts& SlabResourceCounts() const;
|
||||
|
||||
/// Gets the current worker task manager, used for dispatching KThread/KProcess tasks.
|
||||
KWorkerTaskManager& WorkerTaskManager();
|
||||
|
||||
/// Gets the current worker task manager, used for dispatching KThread/KProcess tasks.
|
||||
const KWorkerTaskManager& WorkerTaskManager() const;
|
||||
|
||||
private:
|
||||
friend class KProcess;
|
||||
friend class KThread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue