mirror of
https://github.com/zeldaret/botw
synced 2026-10-10 05:51:51 -04:00
98f0c80f1d
They link in the same block as the plain-ksys:: Message family. getItemValue and applyScreenFade sit in engine UI TUs, hence ksys::ui. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
22 lines
477 B
C++
22 lines
477 B
C++
#pragma once
|
|
|
|
#include <thread/seadCriticalSection.h>
|
|
#include "KingSystem/Utils/Thread/TaskQueueBase.h"
|
|
|
|
namespace ksys {
|
|
|
|
class TaskQueue : public TaskQueueBase {
|
|
SEAD_RTTI_OVERRIDE(TaskQueue, TaskQueueBase)
|
|
public:
|
|
explicit TaskQueue(sead::Heap* heap);
|
|
|
|
private:
|
|
void lock() const override { mCS.lock(); }
|
|
void unlock() const override { mCS.unlock(); }
|
|
|
|
mutable sead::CriticalSection mCS;
|
|
};
|
|
KSYS_CHECK_SIZE_NX150(TaskQueue, 0xd0);
|
|
|
|
} // namespace ksys
|