From 98f0c80f1d0b9d3ca19f0b38efcb597ee65d9dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 28 Sep 2026 03:39:31 +0200 Subject: The task and thread families are plain ksys:: 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) --- src/KingSystem/Utils/Thread/TaskQueueBase.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/KingSystem/Utils/Thread/TaskQueueBase.cpp') diff --git a/src/KingSystem/Utils/Thread/TaskQueueBase.cpp b/src/KingSystem/Utils/Thread/TaskQueueBase.cpp index 5310726c..10c55680 100644 --- a/src/KingSystem/Utils/Thread/TaskQueueBase.cpp +++ b/src/KingSystem/Utils/Thread/TaskQueueBase.cpp @@ -7,7 +7,7 @@ #include "KingSystem/Utils/Thread/TaskQueueLock.h" #include "KingSystem/Utils/Thread/TaskThread.h" -namespace ksys::util { +namespace ksys { static const auto cSleepSpan = sead::TickSpan::makeFromMicroSeconds(10); @@ -333,7 +333,8 @@ void TaskQueueBase::notifyThreadsForNewTasks() { } if (retry_count >= 2) - PrintDebug(sead::FormatFixedSafeString<128>("↓↓↓\nリトライ回数 %d 回\n↑↑↑\n", retry_count)); + util::PrintDebug( + sead::FormatFixedSafeString<128>("↓↓↓\nリトライ回数 %d 回\n↑↑↑\n", retry_count)); } bool TaskQueueBase::push(const PushArg& arg) { @@ -482,4 +483,4 @@ void TaskQueueBase::fetchTask(Task** out_task) { unlock(); } -} // namespace ksys::util +} // namespace ksys -- cgit v1.2.3