8432749db7
This change makes for a clearer (less confusing) path of execution in the scheduler, now the code to execute when a thread awakes is closer to the code that puts the thread to sleep (WaitSynch1, WaitSynchN). It also allows us to implement the special wake up behavior of ReplyAndReceive without hacking up WaitObject::WakeupAllWaitingThreads. If savestates are desired in the future, we can change this implementation to one similar to the CoreTiming event system, where we first register the callback functions at startup and assign their identifiers to the Thread callback variable instead of directly assigning a lambda to the wake up callback variable. |
||
---|---|---|
.. | ||
applets | ||
kernel | ||
service | ||
config_mem.cpp | ||
config_mem.h | ||
function_wrappers.h | ||
ipc.h | ||
ipc_helpers.h | ||
lock.cpp | ||
lock.h | ||
result.h | ||
romfs.cpp | ||
romfs.h | ||
shared_page.cpp | ||
shared_page.h | ||
svc.cpp | ||
svc.h |