Notes


Spec 6: Cooperative Task System (shachi/task.h)

Problem

DC games need cooperative multitasking for disc streaming, AI ticking, and scene loading without blocking the render loop. KOS has full preemptive threads (kos/thread.h) and worker threads (kos/worker_thread.h), but preemptive threading on SH-4 at 200MHz is expensive (context switch + cache flush). Games need lighter cooperative tasks.