kern: KWorkerTaskManager no longer tracks id
This commit is contained in:
@@ -33,7 +33,6 @@ namespace ams::kern {
|
||||
KWorkerTask *m_head_task;
|
||||
KWorkerTask *m_tail_task;
|
||||
KThread *m_thread;
|
||||
WorkerType m_type;
|
||||
bool m_active;
|
||||
private:
|
||||
static void ThreadFunction(uintptr_t arg);
|
||||
@@ -42,9 +41,9 @@ namespace ams::kern {
|
||||
KWorkerTask *GetTask();
|
||||
void AddTask(KWorkerTask *task);
|
||||
public:
|
||||
constexpr KWorkerTaskManager() : m_head_task(), m_tail_task(), m_thread(), m_type(WorkerType_Count), m_active() { /* ... */ }
|
||||
constexpr KWorkerTaskManager() : m_head_task(), m_tail_task(), m_thread(), m_active() { /* ... */ }
|
||||
|
||||
NOINLINE void Initialize(WorkerType wt, s32 priority);
|
||||
NOINLINE void Initialize(s32 priority);
|
||||
static void AddTask(WorkerType type, KWorkerTask *task);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user