mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
f8bc883d48
* Use sleepthread in RPC loop * Keep a pointer to current IOP thread * Implement IOP thread scheduling based on priority And implement DelayThread as an actual delay. * Run IOP flat out * Use information from scheduler in wait_run_iop * Lock sif mutex in set_rpc_queue * always use kernel dispatch with wait_run * Loop in dispatch until no thread is ready * Use timestamp for next wakeup instead of duration * Wrap IOP thread entrypoints for safety Libco threads are not supposed to return from their entrypoint * Use a queue for IOP thread wakeups from EE thread |
||
---|---|---|
.. | ||
vm | ||
Deci2Server.cpp | ||
Deci2Server.h | ||
deci_common.h | ||
IOP_Kernel.cpp | ||
IOP_Kernel.h | ||
iop_thread.cpp | ||
iop_thread.h | ||
newpad.cpp | ||
newpad.h | ||
SystemThread.cpp | ||
SystemThread.h |