Files
jak-project/game/sce
Ziemas f8bc883d48 Implement scheduling of IOP threads. (#1689)
* 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
2022-07-26 21:15:37 -04:00
..
2021-08-14 21:00:50 +01:00
2021-02-21 11:02:28 -05:00
2021-02-21 11:02:28 -05:00
2021-02-21 11:02:28 -05:00
2022-07-19 19:06:05 -04:00
2022-07-19 19:06:05 -04:00
2021-10-01 23:12:34 -04:00
2021-10-01 23:12:34 -04:00
2021-08-04 21:30:08 -04:00