yuzu/src/core/hle
Subv 8432749db7 Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken.
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.
2017-09-28 11:53:32 -05:00
..
applets Remove _flag in var names 2017-09-04 12:15:15 +03:00
kernel Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken. 2017-09-28 11:53:32 -05:00
service HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently. 2017-09-25 09:45:02 -05:00
config_mem.cpp Core: update Kernel Config Memory to latest version (11.2) 2017-01-30 11:29:00 +03:00
config_mem.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
function_wrappers.h Merge pull request #2793 from Subv/replyandreceive 2017-06-29 17:05:22 -05:00
ipc.h ServiceFramework: Use separate copy of command buffer 2017-06-11 13:07:33 -07:00
ipc_helpers.h Kernel: Allow clearing request_objects to re-use buffer space 2017-06-11 13:10:21 -07:00
lock.cpp Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h ResultVal: Remove MoveFrom() 2017-06-18 19:03:15 -07:00
romfs.cpp apt: load shared font from system archive 2017-06-26 01:38:12 +03:00
romfs.h apt: load shared font from system archive 2017-06-26 01:38:12 +03:00
shared_page.cpp shared_page: stub battery state 2017-03-21 13:25:56 +02:00
shared_page.h shared_page: stub battery state 2017-03-21 13:25:56 +02:00
svc.cpp Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken. 2017-09-28 11:53:32 -05:00
svc.h svc: Move ResetType enum to the kernel event header 2016-03-12 21:47:41 -05:00